ASN1SafeBag.forPkcs8ShroudedKeyBag constructor

ASN1SafeBag.forPkcs8ShroudedKeyBag(
  1. ASN1Object bagValue, {
  2. ASN1Set? bagAttributes,
})

Constructor to create the SafeBag for a pkcs-8ShroudedKeyBag.

Implementation

ASN1SafeBag.forPkcs8ShroudedKeyBag(this.bagValue, {this.bagAttributes}) {
  bagId =
      ASN1ObjectIdentifier.fromIdentifierString('1.2.840.113549.1.12.10.1.2');
}