ECPublicKey.cert constructor

ECPublicKey.cert(
  1. String pem
)

Implementation

ECPublicKey.cert(String pem) {
  final bytes = KeyParser.publicKeyBytesFromCertificate(pem);

  key = ECPublicKey.bytes(bytes).key;
}