System::Security::Cryptography::Pkcs::CmsSigner class

CmsSigner class

Provides API to sign objects using CMS. Doesn’t sign objects by itself, use SignedCMS class to do so. Not implemented. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class CmsSigner : public System::Object

Methods

MethodDescription
CmsSigner(const SharedPtr<X509Certificates::X509Certificate2>&)Initializes signer with X509 certificate.
get_DigestAlgorithm() constGets hash algorithm using with signature.
get_IncludeOption() constChecks which certificates from the chain will be included into the signature.
set_DigestAlgorithm(const SharedPtr<Oid>&)Sets hash algorithm using with signature.
set_IncludeOption(X509Certificates::X509IncludeOption)Specifies which certificates from the chain will be included into the signature.

See Also