CmsRecipient Class
The CmsRecipient class defines the recipient of a CMS/PKCS #7 message.
Assembly: System.Security (in System.Security.dll)
| Name | Description | |
|---|---|---|
![]() | CmsRecipient(SubjectIdentifierType, X509Certificate2^) | The CmsRecipient constructor constructs an instance of the CmsRecipient class by using the specified recipient identifier type and recipient certificate. |
![]() | CmsRecipient(X509Certificate2^) | The CmsRecipient constructor constructs an instance of the CmsRecipient class by using the specified recipient certificate. |
| Name | Description | |
|---|---|---|
![]() | Certificate | The Certificate property retrieves the certificate associated with the recipient. |
![]() | RecipientIdentifierType | The RecipientIdentifierType property retrieves the type of the identifier of the recipient. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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.

