Versions in this module Expand all Collapse all v0 v0.47.0 Feb 1, 2022 Changes in this version + 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 GenPrivKey() *PrivKey + func GenPrivKeyFromSecret(secret []byte) *PrivKey + 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) Bytes() []byte + func (privKey *PrivKey) Equals(other cryptotypes.LedgerPrivKey) bool + func (privKey *PrivKey) PubKey() cryptotypes.PubKey + func (privKey *PrivKey) Sign(msg []byte) ([]byte, error) + func (privKey *PrivKey) Type() string + func (privKey *PrivKey) UnmarshalAmino(bz []byte) error + func (privKey *PrivKey) UnmarshalAminoJSON(bz []byte) error + func (privKey PrivKey) MarshalAmino() ([]byte, error) + func (privKey PrivKey) MarshalAminoJSON() ([]byte, error) + 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) Address() crypto.Address + func (pubKey *PubKey) Bytes() []byte + func (pubKey *PubKey) Equals(other cryptotypes.PubKey) bool + func (pubKey *PubKey) String() string + func (pubKey *PubKey) Type() string + func (pubKey *PubKey) UnmarshalAmino(bz []byte) error + func (pubKey *PubKey) UnmarshalAminoJSON(bz []byte) error + func (pubKey *PubKey) VerifySignature(msg []byte, sigStr []byte) bool + func (pubKey PubKey) MarshalAmino() ([]byte, error) + func (pubKey PubKey) MarshalAminoJSON() ([]byte, error)