ASN1SafeBag.forCertBag constructor

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

Constructor to create the SafeBag for a certBag.

Implementation

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