Documentation ¶
Index ¶
- func GetType() int
- type PrivateKey
- type PrivateKeyAdapter
- type PublicKey
- type PublicKeyAdapter
- func (pa PublicKeyAdapter) GetCurve() interface{}
- func (pa PublicKeyAdapter) GetType() int
- func (pa PublicKeyAdapter) GetX() *big.Int
- func (pa PublicKeyAdapter) GetY() *big.Int
- func (pa PublicKeyAdapter) Serialize() []byte
- func (pa PublicKeyAdapter) SerializeCompressed() []byte
- func (pa PublicKeyAdapter) SerializeHybrid() []byte
- func (pa PublicKeyAdapter) SerializeUncompressed() []byte
- func (pa PublicKeyAdapter) ToECDSA() *ecdsa.PublicKey
- type Signature
- type SignatureAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKey ¶
type PrivateKey interface { chainec.PrivateKey PublicKey() PublicKey }
type PrivateKeyAdapter ¶
type PrivateKeyAdapter struct { }
func (PrivateKeyAdapter) GetD ¶
func (pa PrivateKeyAdapter) GetD() *big.Int
func (PrivateKeyAdapter) GetType ¶
func (pa PrivateKeyAdapter) GetType() int
func (PrivateKeyAdapter) PublicKey ¶
func (pa PrivateKeyAdapter) PublicKey() PublicKey
func (PrivateKeyAdapter) Serialize ¶
func (pa PrivateKeyAdapter) Serialize() []byte
PrivateKeyAdapter
func (PrivateKeyAdapter) SerializeSecret ¶
func (pa PrivateKeyAdapter) SerializeSecret() []byte
type PublicKeyAdapter ¶
type PublicKeyAdapter struct { }
func (PublicKeyAdapter) GetCurve ¶
func (pa PublicKeyAdapter) GetCurve() interface{}
func (PublicKeyAdapter) GetType ¶
func (pa PublicKeyAdapter) GetType() int
func (PublicKeyAdapter) GetX ¶
func (pa PublicKeyAdapter) GetX() *big.Int
func (PublicKeyAdapter) GetY ¶
func (pa PublicKeyAdapter) GetY() *big.Int
func (PublicKeyAdapter) SerializeCompressed ¶
func (pa PublicKeyAdapter) SerializeCompressed() []byte
func (PublicKeyAdapter) SerializeHybrid ¶
func (pa PublicKeyAdapter) SerializeHybrid() []byte
func (PublicKeyAdapter) SerializeUncompressed ¶
func (pa PublicKeyAdapter) SerializeUncompressed() []byte
func (PublicKeyAdapter) ToECDSA ¶
func (pa PublicKeyAdapter) ToECDSA() *ecdsa.PublicKey
type SignatureAdapter ¶
type SignatureAdapter struct { }
func (SignatureAdapter) GetR ¶
func (s SignatureAdapter) GetR() *big.Int
func (SignatureAdapter) GetS ¶
func (s SignatureAdapter) GetS() *big.Int
Click to show internal directories.
Click to hide internal directories.