ASN1CertBag.fromX509Pem constructor

ASN1CertBag.fromX509Pem(
  1. String pem
)

Implementation

ASN1CertBag.fromX509Pem(String pem) {
  var bytes = ASN1Utils.getBytesFromPEMString(pem);
  certValue = ASN1OctetString(octets: bytes);
  certId =
      ASN1ObjectIdentifier.fromIdentifierString('1.2.840.113549.1.9.22.1');
}