CmsPkcs7Signer class
CMS/PKCS#7 signer using OpenSSL CMS APIs (ASN.1 handled by OpenSSL).
Constructors
- CmsPkcs7Signer(OpenSSL _openSsl)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signDetached(
{required Uint8List content, required Uint8List certificateDer, required EvpPkey privateKey, List< Uint8List> extraCertsDer = const [], String hashAlgorithm = 'SHA256'}) → Uint8List -
Generates a detached CMS/PKCS#7 signature (DER) for
content. -
signDetachedDigest(
{required Uint8List contentDigest, required Uint8List certificateDer, required EvpPkey privateKey, List< Uint8List> extraCertsDer = const [], String hashAlgorithm = 'SHA256'}) → Uint8List - Generates a detached CMS/PKCS#7 signature (DER) using a precomputed hash.
-
signDetachedDigestWithCert(
{required Uint8List contentDigest, required Pointer< X509> certificate, required EvpPkey privateKey, List<Uint8List> extraCertsDer = const [], String hashAlgorithm = 'SHA256'}) → Uint8List - Generates a detached CMS/PKCS#7 signature (DER) using a precomputed hash and a provided X509 pointer (avoids DER decoding).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited