Pkcs7SignerInfoBuilder class abstract

A Pkcs7 Signer Info Builder

Mixed-in types

Constructors

Pkcs7SignerInfoBuilder.new(X509 issuer)
Creates a Pkcs7 Signer Info Builder
Pkcs7SignerInfoBuilder.rsa({required X509 issuer, HashAlgorithm digestAlgorithm = HashAlgorithm.sha1, required RSAPrivateKey privateKey})
Build an RSA Pkcs7 Signer
factory

Properties

digestAlgorithmID → ASN1ObjectIdentifier
Digest algorithm to use
no setter
digestEncryptionAlgorithmID → ASN1ObjectIdentifier
Entryption algorithm to use
no setter
hashCode → int
The hash code for this object.
no setterinherited
issuer → X509
Signing X509 Certificate
final
message → Uint8List
Message to be signed
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → Uint8List
The message signature
no setter

Methods

addSMimeDigest({required Uint8List digest, DateTime? signingTime}) → void
Add the Secure/Multipurpose Internet Mail Extensions digest
addTimestamp({required TimestampResponse tsr}) → void
Add a timestamp to the digest
asn1ToDart(ASN1Object obj) → dynamic
inherited
asn1ToString(dynamic obj) → String
inherited
build() → Pkcs7SignerInfo
Build the Pkcs7SignerInfo
commonDigestAlgorithm(ASN1ObjectIdentifier signatureAlgorithmID) → HashAlgorithm
inherited
derEncode(Uint8List hash, HashAlgorithm digest) → Uint8List
Encode a hash to a DER message
inherited
digestIdentifierHex(HashAlgorithm algorithm) → String
inherited
generateTSQ() → Uint8List
Generate a Timestamp Query message
getDigest(HashAlgorithm digestAlgorithm) → Digest
inherited
listEquality(Uint8List f, Uint8List o) → bool
Test if two lists are equal
inherited
namesFromAsn1(ASN1Sequence sequence) → Iterable<MapEntry<ASN1ObjectIdentifier, dynamic>>
Parse a list of names
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padText(String s, int amount) → String
inherited
sign(Uint8List message) → Uint8List
Sign the message
toHex(Iterable<int>? list) → String
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited