CertificateRevocationList.fromPem constructor

CertificateRevocationList.fromPem(
  1. String pem
)

Creates a Certificate Revocation List from a PEM encoded string.

Implementation

factory CertificateRevocationList.fromPem(String pem) =>
    CertificateRevocationList.fromDer(
      Uint8List.fromList(
          PemCodec(PemLabel.certificateRevocationList).decode(pem)),
    );