github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/crypto/secp256r1/keys.proto (about) 1 // Since: cosmos-sdk 0.43 2 syntax = "proto3"; 3 package cosmos.crypto.secp256r1; 4 5 import "gogoproto/gogo.proto"; 6 7 option go_package = "github.com/Finschia/finschia-sdk/crypto/keys/secp256r1"; 8 option (gogoproto.messagename_all) = true; 9 option (gogoproto.goproto_stringer_all) = false; 10 option (gogoproto.goproto_getters_all) = false; 11 12 // PubKey defines a secp256r1 ECDSA public key. 13 message PubKey { 14 // Point on secp256r1 curve in a compressed representation as specified in section 15 // 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 16 bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; 17 } 18 19 // PrivKey defines a secp256r1 ECDSA private key. 20 message PrivKey { 21 // secret number serialized using big-endian encoding 22 bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; 23 }