Pkcs7 class Null safety

A Pkcs7 Message

Mixed in types

Constructors

Pkcs7(ASN1Sequence asn1)
Creates a Pkcs7 message from an ASN1Sequence.
factory
Pkcs7.fromDer(Uint8List der)
Creates a Pkcs7 message from DER encoded bytes.
factory
Pkcs7.fromPem(String pem)
Creates a Pkcs7 message from a PEM encoded string.
factory

Properties

asn1 ASN1Sequence
ASN1 object representing the Pkcs7 message
read-only
certificates Iterable<X509>
The certification chain of the message.
read-only
contentType ASN1ObjectIdentifier
Message type
read-onlyoverride
crls Iterable<CertificateRevocationList>
The certificate revocation lists of the message.
read-only
der Uint8List
DER representation of the Pkcs7 message
read-only
digestAlgorithms Iterable<ASN1ObjectIdentifier>
The signature Algorithm ID of the message.
read-only
encapsulatedContent Uint8List?
Encapsulated message content
read-only
encapsulatedContentType ASN1ObjectIdentifier
Encapsulated message content type
read-only
hashCode int
The hash code for this object.
read-onlyinherited
pem String
PEM representation of the Pkcs7 message
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
signerInfo Iterable<Pkcs7SignerInfo>
List of Pkcs7 message signatures.
read-only
version int
The version number of the message.
read-only

Methods

asn1ToDart(ASN1Object obj) → dynamic
inherited
asn1ToString(dynamic obj) String
inherited
commonDigestAlgorithm(ASN1ObjectIdentifier signatureAlgorithmID) HashAlgorithm
inherited
derEncode(Uint8List hash, HashAlgorithm digest) Uint8List
Encode a hash to a DER message
inherited
digestIdentifierHex(HashAlgorithm algorithm) String
inherited
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 non-existent method or property is accessed.
inherited
padText(String s, int amount) String
inherited
toHex(Iterable<int>? list) String
inherited
toString() String
A string representation of this object.
override
verify(List<X509> trusted) Pkcs7SignerInfo
Verify the Pkcs7 validity against a list of trusted certificates and returns the validated signature

Operators

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