juno_rust_proto/prost/cosmos-sdk/cosmos.crypto.secp256r1.rs
1/// PubKey defines a secp256r1 ECDSA public key.
2#[allow(clippy::derive_partial_eq_without_eq)]
3#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct PubKey {
5 /// Point on secp256r1 curve in a compressed representation as specified in section
6 /// 4.3.6 of ANSI X9.62: <https://webstore.ansi.org/standards/ascx9/ansix9621998>
7 #[prost(bytes = "vec", tag = "1")]
8 pub key: ::prost::alloc::vec::Vec<u8>,
9}
10/// PrivKey defines a secp256r1 ECDSA private key.
11#[allow(clippy::derive_partial_eq_without_eq)]
12#[derive(Clone, PartialEq, ::prost::Message)]
13pub struct PrivKey {
14 /// secret number serialized using big-endian encoding
15 #[prost(bytes = "vec", tag = "1")]
16 pub secret: ::prost::alloc::vec::Vec<u8>,
17}