Versions in this module Expand all Collapse all v0 v0.16.0 May 28, 2022 v0.15.0 May 27, 2022 Changes in this version + const KeyType + const PrivKeyName + const PrivKeySize + const PubKeyName + const PubKeySize + var ErrIntOverflowKeys = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthKeys = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupKeys = fmt.Errorf("proto: unexpected end of group") + type PrivKey struct + Key []byte + func GenerateKey() (*PrivKey, error) + func (*PrivKey) Descriptor() ([]byte, []int) + func (*PrivKey) ProtoMessage() + func (m *PrivKey) GetKey() []byte + func (m *PrivKey) Marshal() (dAtA []byte, err error) + func (m *PrivKey) MarshalTo(dAtA []byte) (int, error) + func (m *PrivKey) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PrivKey) Reset() + func (m *PrivKey) Size() (n int) + func (m *PrivKey) String() string + func (m *PrivKey) Unmarshal(dAtA []byte) error + func (m *PrivKey) XXX_DiscardUnknown() + func (m *PrivKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PrivKey) XXX_Merge(src proto.Message) + func (m *PrivKey) XXX_Size() int + func (m *PrivKey) XXX_Unmarshal(b []byte) error + func (privKey *PrivKey) UnmarshalAmino(bz []byte) error + func (privKey *PrivKey) UnmarshalAminoJSON(bz []byte) error + func (privKey PrivKey) Bytes() []byte + func (privKey PrivKey) Equals(other cryptotypes.LedgerPrivKey) bool + func (privKey PrivKey) MarshalAmino() ([]byte, error) + func (privKey PrivKey) MarshalAminoJSON() ([]byte, error) + func (privKey PrivKey) PubKey() cryptotypes.PubKey + func (privKey PrivKey) Sign(digestBz []byte) ([]byte, error) + func (privKey PrivKey) ToECDSA() (*ecdsa.PrivateKey, error) + func (privKey PrivKey) Type() string + type PubKey struct + Key []byte + func (*PubKey) Descriptor() ([]byte, []int) + func (*PubKey) ProtoMessage() + func (m *PubKey) GetKey() []byte + func (m *PubKey) Marshal() (dAtA []byte, err error) + func (m *PubKey) MarshalTo(dAtA []byte) (int, error) + func (m *PubKey) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PubKey) Reset() + func (m *PubKey) Size() (n int) + func (m *PubKey) Unmarshal(dAtA []byte) error + func (m *PubKey) XXX_DiscardUnknown() + func (m *PubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PubKey) XXX_Merge(src proto.Message) + func (m *PubKey) XXX_Size() int + func (m *PubKey) XXX_Unmarshal(b []byte) error + func (pubKey *PubKey) UnmarshalAmino(bz []byte) error + func (pubKey *PubKey) UnmarshalAminoJSON(bz []byte) error + func (pubKey PubKey) Address() tmcrypto.Address + func (pubKey PubKey) Bytes() []byte + func (pubKey PubKey) Equals(other cryptotypes.PubKey) bool + func (pubKey PubKey) MarshalAmino() ([]byte, error) + func (pubKey PubKey) MarshalAminoJSON() ([]byte, error) + func (pubKey PubKey) String() string + func (pubKey PubKey) Type() string + func (pubKey PubKey) VerifySignature(msg, sig []byte) bool