Method | Description | |
---|---|---|
Import ( Stream stream, string password ) : void |
Imports certificates and keys from a pkcs12-encoded stream. Imports certificates and keys from a pkcs12-encoded stream. |
|
Import ( |
Imports the specified certificate. Imports the specified certificate. |
|
Import ( |
Imports the specified certificate revocation list. Imports the specified certificate revocation list. |
|
TemporarySecureMimeContext ( ) : System |
Initializes a new instance of the MimeKit.Cryptography.TemporarySecureMimeContext class. Creates a new TemporarySecureMimeContext. |
Method | Description | |
---|---|---|
GetCertificate ( IX509Selector selector ) : |
Gets the X.509 certificate matching the specified selector. Gets the first certificate that matches the specified selector. |
|
GetCertificateRevocationLists ( ) : IX509Store |
Gets the certificate revocation lists. A Certificate Revocation List (CRL) is a list of certificate serial numbers issued by a particular Certificate Authority (CA) that have been revoked, either by the CA itself or by the owner of the revoked certificate. |
|
GetCmsRecipient ( MimeKit.MailboxAddress mailbox ) : |
Gets the CmsRecipient for the specified mailbox. Constructs a CmsRecipient with the appropriate certificate and CmsRecipient.EncryptionAlgorithms for the specified mailbox. If the mailbox is a SecureMailboxAddress, the SecureMailboxAddress.Fingerprint property will be used instead of the mailbox address. |
|
GetCmsSigner ( MimeKit.MailboxAddress mailbox, DigestAlgorithm digestAlgo ) : |
Gets the CmsSigner for the specified mailbox. Constructs a CmsSigner with the appropriate signing certificate for the specified mailbox. If the mailbox is a SecureMailboxAddress, the SecureMailboxAddress.Fingerprint property will be used instead of the mailbox address for database lookups. |
|
GetIntermediateCertificates ( ) : IX509Store |
Gets the intermediate certificates. An intermediate certificate is any certificate that exists between the root certificate issued by a Certificate Authority (CA) and the certificate at the end of the chain. |
|
GetPrivateKey ( IX509Selector selector ) : |
Gets the private key for the certificate matching the specified selector. Gets the private key for the first certificate that matches the specified selector. |
|
GetTrustedAnchors ( ) : Org.BouncyCastle.Utilities.Collections.HashSet |
Gets the trusted anchors. A trusted anchor is a trusted root-level X.509 certificate, generally issued by a certificate authority (CA). |
|
UpdateSecureMimeCapabilities ( |
Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate. Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate. |
protected GetCertificate ( IX509Selector selector ) : |
||
selector | IX509Selector | The search criteria for the certificate. |
return |
protected GetCertificateRevocationLists ( ) : IX509Store | ||
return | IX509Store |
protected GetCmsRecipient ( MimeKit.MailboxAddress mailbox ) : |
||
mailbox | MimeKit.MailboxAddress | The mailbox. |
return |
protected GetCmsSigner ( MimeKit.MailboxAddress mailbox, DigestAlgorithm digestAlgo ) : |
||
mailbox | MimeKit.MailboxAddress | The mailbox. |
digestAlgo | DigestAlgorithm | The preferred digest algorithm. |
return |
protected GetIntermediateCertificates ( ) : IX509Store | ||
return | IX509Store |
protected GetPrivateKey ( IX509Selector selector ) : |
||
selector | IX509Selector | The search criteria for the private key. |
return |
protected GetTrustedAnchors ( ) : Org.BouncyCastle.Utilities.Collections.HashSet | ||
return | Org.BouncyCastle.Utilities.Collections.HashSet |
public Import ( Stream stream, string password ) : void | ||
stream | Stream | The raw certificate and key data in pkcs12 format. |
password | string | The password to unlock the stream. |
return | void |
public Import ( |
||
certificate | The certificate. | |
return | void |
public Import ( |
||
crl | The certificate revocation list. | |
return | void |
public TemporarySecureMimeContext ( ) : System | ||
return | System |
protected UpdateSecureMimeCapabilities ( |
||
certificate | The certificate. | |
algorithms | EncryptionAlgorithm | The encryption algorithm capabilities of the client (in preferred order). |
timestamp | System.DateTime | The timestamp. |
return | void |