Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Pkcs9AttributeObject Class

 

Represents an attribute used for CMS/PKCS #7 and PKCS #9 operations.

Namespace:   System.Security.Cryptography.Pkcs
Assembly:  System.Security (in System.Security.dll)


[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class Pkcs9AttributeObject : AsnEncodedData

NameDescription
System_CAPS_pubmethodPkcs9AttributeObject()

Initializes a new instance of the Pkcs9AttributeObject class.

System_CAPS_pubmethodPkcs9AttributeObject(AsnEncodedData^)

Initializes a new instance of the Pkcs9AttributeObject class using a specified AsnEncodedData object as its attribute type and value.

System_CAPS_pubmethodPkcs9AttributeObject(Oid^, array<Byte>^)

Initializes a new instance of the Pkcs9AttributeObject class using a specified Oid object as the attribute type and a specified ASN.1 encoded data as the attribute value.

System_CAPS_pubmethodPkcs9AttributeObject(String^, array<Byte>^)

Initializes a new instance of the Pkcs9AttributeObject class using a specified string representation of an object identifier (OID) as the attribute type and a specified ASN.1 encoded data as the attribute value.

NameDescription
System_CAPS_pubpropertyOid

Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.

System_CAPS_pubpropertyRawData

Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.(Inherited from AsnEncodedData.)

NameDescription
System_CAPS_pubmethodCopyFrom(AsnEncodedData^)

Copies a PKCS #9 attribute type and value for this Pkcs9AttributeObject from the specified AsnEncodedData object.(Overrides AsnEncodedData::CopyFrom(AsnEncodedData^).)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFormat(Boolean)

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.(Inherited from AsnEncodedData.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

A Pkcs9AttributeObject object can be thought of as a strongly typed AsnEncodedData object because of the addition of the Oid property.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft