CryptographicAttributeObject CryptographicAttributeObject CryptographicAttributeObject CryptographicAttributeObject Class

定义

包含一个类型和与该类型相关联的值的集合。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
继承
CryptographicAttributeObjectCryptographicAttributeObjectCryptographicAttributeObjectCryptographicAttributeObject

注解

此类对应于在加密消息语法标准规范中定义的一个 ASN. 1 结构。This class corresponds to an ASN.1 structure defined in the Cryptographic Message Syntax standards specification.

构造函数

CryptographicAttributeObject(Oid) CryptographicAttributeObject(Oid) CryptographicAttributeObject(Oid) 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) CryptographicAttributeObject(Oid, AsnEncodedDataCollection) 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 Oid Oid

获取指定特性的对象标识符的 Oid 对象。Gets the Oid object that specifies the object identifier for the attribute.

Values Values Values Values

获取包含与该特性相关联的一组值的 AsnEncodedDataCollection 集合。Gets the AsnEncodedDataCollection collection that contains the set of values that are associated with the attribute.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于