API Reference
Class
CmsSignedDataSigner
Creates interoperable CMS SignedData without exporting an RSA private key.
Inheritance
- Object
- CmsSignedDataSigner
Methods
public static Byte[] SignDetached(Byte[] content, X509Certificate2 signingCertificate, CmsSigningOptions options = null, IEnumerable<X509Certificate2> certificateChain = null) #Returns:
Byte[]Creates a detached CMS signature over content.
Parameters
- content System.Byte[]
- signingCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
- options OfficeIMO.Security.CmsSigningOptions = null
- certificateChain System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509Certificate2} = null
public static Byte[] SignEncapsulated(Byte[] content, X509Certificate2 signingCertificate, CmsSigningOptions options = null, IEnumerable<X509Certificate2> certificateChain = null) #Returns:
Byte[]Creates an encapsulated CMS SignedData object containing content.
Parameters
- content System.Byte[]
- signingCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
- options OfficeIMO.Security.CmsSigningOptions = null
- certificateChain System.Collections.Generic.IEnumerable{System.Security.Cryptography.X509Certificates.X509Certificate2} = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object