extractPublicKey method
Reads the public key.
Implementation
@override
Future<EcPublicKey> extractPublicKey() async {
if (hasBeenDestroyed) {
throw StateError('Private key has been destroyed');
}
return publicKey;
}
Reads the public key.
@override
Future<EcPublicKey> extractPublicKey() async {
if (hasBeenDestroyed) {
throw StateError('Private key has been destroyed');
}
return publicKey;
}