getRawPublicKey static method
Implementation
static getRawPublicKey(Uint8List publicKey, [IcpWalletType? walletType]) {
final Uint8List OID =
walletType == IcpWalletType.stoic ? ED25519_OID : SECP256K1_OID;
final Uint8List publicKey_der = wrapDER(publicKey, OID);
return publicKey_der.toStr();
}