loadCrlBytes method

X509Crl loadCrlBytes(
  1. Uint8List bytes
)
inherited

Loads an X509 CRL from bytes (auto-detect PEM vs DER).

Implementation

X509Crl loadCrlBytes(Uint8List bytes) {
  if (_looksLikeCrlPem(bytes)) {
    return loadCrlPem(String.fromCharCodes(bytes));
  }
  return loadCrlDer(bytes);
}