CryptographicAttributeObject 类
定义
包含一个类型和与该类型相关联的值的集合。Contains a type and a collection of values associated with that type.
public ref class CryptographicAttributeObject sealed
public sealed class CryptographicAttributeObject
type CryptographicAttributeObject = class
Public NotInheritable Class CryptographicAttributeObject
- 继承
-
CryptographicAttributeObject
注解
此类对应于在加密消息语法标准规范中定义的一个 ASN. 1 结构。This class corresponds to an ASN.1 structure defined in the Cryptographic Message Syntax standards specification.
构造函数
| CryptographicAttributeObject(Oid) |
使用指定的 CryptographicAttributeObject 对象所表示的特性初始化 Oid 类的新实例。Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object. |
| CryptographicAttributeObject(Oid, AsnEncodedDataCollection) |
使用指定的 CryptographicAttributeObject 对象所表示的特性和与该特性相关联的一组值(由指定的 Oid 集合表示)来初始化 AsnEncodedDataCollection 类的新实例。Initializes a new instance of the CryptographicAttributeObject class using an attribute represented by the specified Oid object and the set of values associated with that attribute represented by the specified AsnEncodedDataCollection collection. |
属性
| Oid |
获取指定特性的对象标识符的 Oid 对象。Gets the Oid object that specifies the object identifier for the attribute. |
| Values |
获取包含与该特性相关联的一组值的 AsnEncodedDataCollection 集合。Gets the AsnEncodedDataCollection collection that contains the set of values that are associated with the attribute. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |