6 #ifndef KAGOME_CRYPTO_SECP256K1_PROVIDER_HPP 7 #define KAGOME_CRYPTO_SECP256K1_PROVIDER_HPP 27 virtual outcome::result<secp256k1::UncompressedPublicKey>
38 virtual outcome::result<secp256k1::CompressedPublicKey>
46 #endif // KAGOME_CRYPTO_SECP256K1_PROVIDER_HPP
virtual ~Secp256k1Provider()=default
virtual outcome::result< secp256k1::CompressedPublicKey > recoverPublickeyCompressed(const secp256k1::RSVSignature &signature, const secp256k1::MessageHash &message_hash) const =0
recover public key in compressed form
virtual outcome::result< secp256k1::UncompressedPublicKey > recoverPublickeyUncompressed(const secp256k1::RSVSignature &signature, const secp256k1::MessageHash &message_hash) const =0
recover public key in uncompressed form