Class CmsHelper
Helps working with CMS.
Inheritance
System.Object
CmsHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sig.Crypto
Assembly: SigCrypto.dll
Syntax
public class CmsHelper
Methods
Name | Description |
---|---|
Build(X509Certificate2, HashAlgorithmName, SignedAttributes, Byte[]) | Builds a CMS-SignedData object. |
DecodeSignedCms(Byte[]) | Decodes a DER encoded CMS-SignedData object. |
GetFirstSignerInfo(SignedCms) | Returns the first Signer Info object in the given CMS-SignedData. |
SignContentDigest(X509Certificate2, HashAlgorithmName, Byte[]) | Creates a CMS-SignedData object with one SignerInfo object. |
SignContentDigestWithBioBlocks(X509Certificate2, HashAlgorithmName, Byte[], Byte[]) | Creates a CMS-SignedData object with one SignerInfo object. |
SignMessageDigestWithTimeStamp(X509Certificate2, HashAlgorithmName, Byte[]) | Signs the given message digest. |