MimeKit.Cryptography.CmsSigner.CmsSigner C# (CSharp) Method

CmsSigner() private method

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.

private CmsSigner ( ) : System
return System
		CmsSigner ()
		{
			UnsignedAttributes = new AttributeTable (new Dictionary<DerObjectIdentifier, Asn1Encodable> ());
			SignedAttributes = new AttributeTable (new Dictionary<DerObjectIdentifier, Asn1Encodable> ());
			DigestAlgorithm = DigestAlgorithm.Sha1;
		}

Same methods

CmsSigner::CmsSigner ( IEnumerable chain, AsymmetricKeyParameter key ) : System
CmsSigner::CmsSigner ( System.Stream stream, string password ) : System
CmsSigner::CmsSigner ( System.Security.Cryptography.X509Certificates.X509Certificate2 certificate ) : System
CmsSigner::CmsSigner ( X509Certificate certificate, AsymmetricKeyParameter key ) : System
CmsSigner::CmsSigner ( string fileName, string password ) : System