ASN1SafeBag.forKeyBag constructor
ASN1SafeBag.forKeyBag(
- ASN1Object bagValue, {
- ASN1Set? bagAttributes,
Constructor to create the SafeBag for a KeyBag
holding a PrivateKeyInfo
.
Implementation
ASN1SafeBag.forKeyBag(this.bagValue, {this.bagAttributes}) {
bagId =
ASN1ObjectIdentifier.fromIdentifierString('1.2.840.113549.1.12.10.1.1');
}