toPublicKey method
Implementation
@override
PublicKey toPublicKey() {
final type =
slot == KeySlot.signature ? KeyPairType.ed25519 : KeyPairType.x25519;
return SimplePublicKey(publicKey, type: type);
}
@override
PublicKey toPublicKey() {
final type =
slot == KeySlot.signature ? KeyPairType.ed25519 : KeyPairType.x25519;
return SimplePublicKey(publicKey, type: type);
}