Pkcs7.fromDer constructor Null safety

Pkcs7.fromDer(
  1. Uint8List der
)

Creates a Pkcs7 message from DER encoded bytes.

Implementation

factory Pkcs7.fromDer(Uint8List der) => Pkcs7(
      ASN1Parser(der).nextObject() as ASN1Sequence,
    );