Method | Description | |
---|---|---|
Add ( |
Adds the specified certificate to the store. Adds the specified certificate to the store. |
|
AddRange ( IEnumerable |
Adds the specified range of certificates to the store. Adds the specified range of certificates to the store. |
|
Export ( Stream stream ) : void |
Exports the certificates to an unencrypted stream. Exports the certificates to an unencrypted stream. |
|
Export ( Stream stream, string password ) : void |
Exports the specified stream and password to a pkcs12 encrypted file. Exports the specified stream and password to a pkcs12 encrypted file. |
|
Export ( string fileName ) : void |
Exports the certificates to an unencrypted file. Exports the certificates to an unencrypted file. |
|
Export ( string fileName, string password ) : void |
Exports the specified stream and password to a pkcs12 encrypted file. Exports the specified stream and password to a pkcs12 encrypted file. |
|
GetMatches ( IX509Selector selector ) : IEnumerable |
Gets an enumerator of matching X.509 certificates based on the specified selector. Gets an enumerator of matching X.509 certificates based on the specified selector. |
|
GetPrivateKey ( |
Gets the private key for the specified certificate. Gets the private key for the specified certificate, if it exists. |
|
Import ( Stream stream ) : void |
Imports the certificate(s) from the specified stream. Imports the certificate(s) from the specified stream. |
|
Import ( Stream stream, string password ) : void |
Imports certificates and private keys from the specified stream. Imports certificates and private keys from the specified pkcs12 stream. |
|
Import ( byte rawData ) : void |
Imports the certificate(s) from the specified byte array. Imports the certificate(s) from the specified byte array. |
|
Import ( byte rawData, string password ) : void |
Imports certificates and private keys from the specified byte array. Imports certificates and private keys from the specified pkcs12 stream. |
|
Import ( string fileName ) : void |
Imports the certificate(s) from the specified file. Imports the certificate(s) from the specified file. |
|
Import ( string fileName, string password ) : void |
Imports certificates and private keys from the specified file. Imports certificates and private keys from the specified pkcs12 stream. |
|
Remove ( |
Removes the specified certificate from the store. Removes the specified certificate from the store. |
|
RemoveRange ( IEnumerable |
Removes the specified range of certificates from the store. Removes the specified range of certificates from the store. |
|
X509CertificateStore ( ) : System |
Initializes a new instance of the MimeKit.Cryptography.X509CertificateStore class. Creates a new X509CertificateStore. |
Method | Description | |
---|---|---|
IX509Store ( IX509Selector selector ) : ICollection |
Gets a collection of matching X.509 certificates based on the specified selector. Gets a collection of matching X.509 certificates based on the specified selector. |
public Add ( |
||
certificate | The certificate. | |
return | void |
public AddRange ( IEnumerable |
||
certificates | IEnumerable |
The certificates. |
return | void |
public Export ( Stream stream ) : void | ||
stream | Stream | The output stream. |
return | void |
public Export ( Stream stream, string password ) : void | ||
stream | Stream | The output stream. |
password | string | The password to use to lock the private keys. |
return | void |
public Export ( string fileName ) : void | ||
fileName | string | The file path to write to. |
return | void |
public Export ( string fileName, string password ) : void | ||
fileName | string | The file path to write to. |
password | string | The password to use to lock the private keys. |
return | void |
public GetMatches ( IX509Selector selector ) : IEnumerable |
||
selector | IX509Selector | The match criteria. |
return | IEnumerable |
public GetPrivateKey ( |
||
certificate | The certificate. | |
return |
public Import ( Stream stream ) : void | ||
stream | Stream | The stream to import. |
return | void |
public Import ( Stream stream, string password ) : void | ||
stream | Stream | The stream to import. |
password | string | The password to unlock the stream. |
return | void |
public Import ( byte rawData ) : void | ||
rawData | byte | The raw certificate data. |
return | void |
public Import ( byte rawData, string password ) : void | ||
rawData | byte | The raw certificate data. |
password | string | The password to unlock the raw data. |
return | void |
public Import ( string fileName ) : void | ||
fileName | string | The name of the file to import. |
return | void |
public Import ( string fileName, string password ) : void | ||
fileName | string | The name of the file to import. |
password | string | The password to unlock the file. |
return | void |
public Remove ( |
||
certificate | The certificate. | |
return | void |
public RemoveRange ( IEnumerable |
||
certificates | IEnumerable |
The certificates. |
return | void |