publicKeyAlgorithmOI property Null safety

ASN1ObjectIdentifier publicKeyAlgorithmOI

The Public Key Algorithm of the certificate.

Implementation

ASN1ObjectIdentifier get publicKeyAlgorithmOI {
  final key = _tbs.elements![_offset + 6] as ASN1Sequence;
  final sig = key.elements![0] as ASN1Sequence;
  return sig.elements![0] as ASN1ObjectIdentifier;
}