C# Class MimeKit.Cryptography.X509CertificateRecord

An X.509 certificate record.
Represents an X.509 certificate record loaded from a database.
ファイルを表示 Open project: nachocove/MimeKit Class Usage Examples

Public Methods

Method Description
X509CertificateRecord ( ) : System

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.

This constructor is only meant to be used by implementors of IX509CertificateDatabase when loading records from the database.

X509CertificateRecord ( X509Certificate certificate ) : System

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.

Creates a new certificate record for storing in a IX509CertificateDatabase.

X509CertificateRecord ( X509Certificate certificate, AsymmetricKeyParameter key ) : System

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.

Creates a new certificate record with a private key for storing in a IX509CertificateDatabase.

Method Details

X509CertificateRecord() public method

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.
This constructor is only meant to be used by implementors of IX509CertificateDatabase when loading records from the database.
public X509CertificateRecord ( ) : System
return System

X509CertificateRecord() public method

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.
Creates a new certificate record for storing in a IX509CertificateDatabase.
/// is null. ///
public X509CertificateRecord ( X509Certificate certificate ) : System
certificate Org.BouncyCastle.X509.X509Certificate The certificate.
return System

X509CertificateRecord() public method

Initializes a new instance of the MimeKit.Cryptography.X509CertificateRecord class.
Creates a new certificate record with a private key for storing in a IX509CertificateDatabase.
/// is null. /// -or- /// is null. /// /// is not a private key. ///
public X509CertificateRecord ( X509Certificate certificate, AsymmetricKeyParameter key ) : System
certificate Org.BouncyCastle.X509.X509Certificate The certificate.
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter The private key.
return System