ASN1EncryptedContentInfo.forData constructor
ASN1EncryptedContentInfo.forData(
- ASN1AlgorithmIdentifier contentEncryptionAlgorithm,
- Uint8List? encryptedContent
Implementation
ASN1EncryptedContentInfo.forData(
this.contentEncryptionAlgorithm, this.encryptedContent) {
//contentType =
// ASN1ObjectIdentifier.fromIdentifierString('1.2.840.113549.1.7.1');
contentType = ASN1ObjectIdentifier.fromBytes(
Uint8List.fromList(
[0x06, 0x09, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x07, 0x01]),
);
}