CngProperty 结构
定义
封装下一代加密技术 (CNG) 密钥或提供程序的属性。Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.
public value class CngProperty : IEquatable<System::Security::Cryptography::CngProperty>
public struct CngProperty : IEquatable<System.Security.Cryptography.CngProperty>
type CngProperty = struct
Public Structure CngProperty
Implements IEquatable(Of CngProperty)
- 继承
- 实现
注解
此类将属性名称封装 (字符串) 、值 (字节数组) 、 CngPropertyOptions 标志、访问器属性以及比较和哈希函数。This class encapsulates a property name (a string), a value (byte array), a CngPropertyOptions flag, accessor properties, and comparison and hashing functions.
此类与 SetProperty 和方法一起使用 GetProperty 。This class is used with the SetProperty and GetProperty methods.
构造函数
CngProperty(String, Byte[], CngPropertyOptions) |
初始化 CngProperty 类的新实例。Initializes a new instance of the CngProperty class. |
属性
Name |
获取由当前 CngProperty 对象指定的属性名。Gets the property name that the current CngProperty object specifies. |
Options |
获取由当前 CngProperty 对象指定的属性选项。Gets the property options that the current CngProperty object specifies. |
方法
Equals(CngProperty) |
将指定的 CngProperty 对象与当前的 CngProperty 对象进行比较。Compares the specified CngProperty object to the current CngProperty object. |
Equals(Object) |
将指定的对象与当前的 CngProperty 对象进行比较。Compares the specified object to the current CngProperty object. |
GetHashCode() |
生成当前 CngProperty 对象的哈希值。Generates a hash value for the current CngProperty object. |
GetValue() |
获取由当前 CngProperty 对象指定的属性值。Gets the property value that the current CngProperty object specifies. |
运算符
Equality(CngProperty, CngProperty) |
确定两个 CngProperty 对象是否指定相同的属性名、值和选项。Determines whether two CngProperty objects specify the same property name, value, and options. |
Inequality(CngProperty, CngProperty) |
确定两个 CngProperty 对象是否未指定相同的属性名、值和选项。Determines whether two CngProperty objects do not specify the same property name, value, and options. |