publicKey property

X509PublicKey? get publicKey

Gets the informations of the public key from this certificate.

Implementation

X509PublicKey? get publicKey {
  var pkBlock = block1?.atIndex(X509BlockPosition.publicKey);
  if (pkBlock != null) {
    return X509PublicKey(pkBlock: pkBlock);
  }
  return null;
}