Pkcs9MessageDigest Class

 

The Pkcs9MessageDigest class defines the message digest of a CMS/PKCS #7 message.

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

System.Object
  System.Security.Cryptography.AsnEncodedData
    System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
      System.Security.Cryptography.Pkcs.Pkcs9MessageDigest

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class Pkcs9MessageDigest : Pkcs9AttributeObject

NameDescription
System_CAPS_pubmethodPkcs9MessageDigest()

The Pkcs9MessageDigest constructor creates an instance of the Pkcs9MessageDigest class.

NameDescription
System_CAPS_pubpropertyMessageDigest

The MessageDigest property retrieves the message digest.

System_CAPS_pubpropertyOid

Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.(Inherited from Pkcs9AttributeObject.)

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 information from an AsnEncodedData object.(Overrides Pkcs9AttributeObject.CopyFrom(AsnEncodedData).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(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_pubmethodToString()

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

A Pkcs9MessageDigest object will be automatically generated and placed in the SignerInfo.SignedAttributes property whenever the CmsSigner.SignedAttributes property for the corresponding signer is not empty.

.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: