CmsRecipient Class

 

The CmsRecipient class defines the recipient of a CMS/PKCS #7 message.

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

System.Object
  System.Security.Cryptography.Pkcs.CmsRecipient

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class CmsRecipient

NameDescription
System_CAPS_pubmethodCmsRecipient(SubjectIdentifierType, X509Certificate2)

The CmsRecipient constructor constructs an instance of the CmsRecipient class by using the specified recipient identifier type and recipient certificate.

System_CAPS_pubmethodCmsRecipient(X509Certificate2)

The CmsRecipient constructor constructs an instance of the CmsRecipient class by using the specified recipient certificate.

NameDescription
System_CAPS_pubpropertyCertificate

The Certificate property retrieves the certificate associated with the recipient.

System_CAPS_pubpropertyRecipientIdentifierType

The RecipientIdentifierType property retrieves the type of the identifier of the recipient.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

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

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