Method | Description | |
---|---|---|
CmsSigner ( IEnumerable |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. The initial value of the DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
|
CmsSigner ( System.Stream stream, string password ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. Creates a new CmsSigner, loading the X.509 certificate and private key from the specified stream. The initial value of the MimeKit.Cryptography.DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
|
CmsSigner ( System.Security.Cryptography.X509Certificates.X509Certificate2 certificate ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. The initial value of the MimeKit.Cryptography.DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
|
CmsSigner ( |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. The initial value of the MimeKit.Cryptography.DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
|
CmsSigner ( string fileName, string password ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. Creates a new CmsSigner, loading the X.509 certificate and private key from the specified file. The initial value of the MimeKit.Cryptography.DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
Method | Description | |
---|---|---|
CheckCertificateCanBeUsedForSigning ( |
||
CmsSigner ( ) : System |
Initializes a new instance of the MimeKit.Cryptography.CmsSigner class. The initial value of the DigestAlgorithm will be set to MimeKit.Cryptography.DigestAlgorithm.Sha1 and both the SignedAttributes and UnsignedAttributes properties will be initialized to empty tables. |
|
LoadPkcs12 ( System.Stream stream, string password ) : void |
public CmsSigner ( IEnumerable |
||
chain | IEnumerable |
The chain of certificates starting with the signer's certificate back to the root. |
key | The signer's private key. | |
return | System |
public CmsSigner ( System.Stream stream, string password ) : System | ||
stream | System.Stream | The raw certificate and key data in pkcs12 format. |
password | string | The password to unlock the stream. |
return | System |
public CmsSigner ( System.Security.Cryptography.X509Certificates.X509Certificate2 certificate ) : System | ||
certificate | System.Security.Cryptography.X509Certificates.X509Certificate2 | The signer's certificate. |
return | System |
public CmsSigner ( |
||
certificate | The signer's certificate. | |
key | The signer's private key. | |
return | System |
public CmsSigner ( string fileName, string password ) : System | ||
fileName | string | The raw certificate and key data in pkcs12 format. |
password | string | The password to unlock the stream. |
return | System |