publicKeyBytes property Null safety

Uint8List publicKeyBytes

The Public Key Algorithm of the certificate.

Implementation

Uint8List get publicKeyBytes {
  final key = _tbs.elements![_offset + 6] as ASN1Sequence;
  final str = key.elements![1] as ASN1BitString;
  return Uint8List.fromList(str.stringValues!);
}