Méthode | Description | |
---|---|---|
CmsRecipient ( System.Stream stream, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsRecipient class. Creates a new CmsRecipient, loading the certificate from the specified stream. The initial value of the EncryptionAlgorithms property will be set to the Triple-DES encryption algorithm, which should be safe to assume for all modern S/MIME v3.x client implementations. |
|
CmsRecipient ( System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsRecipient class. The initial value of the EncryptionAlgorithms property will be set to the Triple-DES encryption algorithm, which should be safe to assume for all modern S/MIME v3.x client implementations. |
|
CmsRecipient ( |
Initializes a new instance of the MimeKit.Cryptography.CmsRecipient class. The initial value of the EncryptionAlgorithms property will be set to the Triple-DES encryption algorithm, which should be safe to assume for all modern S/MIME v3.x client implementations. |
|
CmsRecipient ( string fileName, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsRecipient class. Creates a new CmsRecipient, loading the certificate from the specified file. The initial value of the EncryptionAlgorithms property will be set to the Triple-DES encryption algorithm, which should be safe to assume for all modern S/MIME v3.x client implementations. |
public CmsRecipient ( System.Stream stream, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System | ||
stream | System.Stream | The stream containing the recipient's certificate. |
recipientIdentifierType | SubjectIdentifierType | The recipient identifier type. |
Résultat | System |
public CmsRecipient ( System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System | ||
certificate | System.Security.Cryptography.X509Certificates.X509Certificate2 | The recipient's certificate. |
recipientIdentifierType | SubjectIdentifierType | The recipient identifier type. |
Résultat | System |
public CmsRecipient ( |
||
certificate | The recipient's certificate. | |
recipientIdentifierType | SubjectIdentifierType | The recipient identifier type. |
Résultat | System |
public CmsRecipient ( string fileName, SubjectIdentifierType recipientIdentifierType = SubjectIdentifierType.IssuerAndSerialNumber ) : System | ||
fileName | string | The file containing the recipient's certificate. |
recipientIdentifierType | SubjectIdentifierType | The recipient identifier type. |
Résultat | System |