Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregateVerify ¶
func AggregateVerify(items []*PubDigestPair, sig *Signature, scheme blst.Scheme) error
Types ¶
type PrivateKey ¶
func GenerateKey ¶
func GenerateKey(rand io.Reader) (*PrivateKey, error)
func GenerateKeyFrom ¶
func GenerateKeyFrom(ikm []byte) (*PrivateKey, error)
func PrivateKeyFromBytes ¶
func PrivateKeyFromBytes(data []byte) (*PrivateKey, error)
func (*PrivateKey) Bytes ¶
func (priv *PrivateKey) Bytes() []byte
func (*PrivateKey) Equal ¶
func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool
func (*PrivateKey) Public ¶
func (priv *PrivateKey) Public() crypto.PublicKey
func (*PrivateKey) PublicKey ¶
func (priv *PrivateKey) PublicKey() *PublicKey
func (*PrivateKey) Sign ¶
func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
type PubDigestPair ¶
type PublicKey ¶
func PublicKeyFromBytes ¶
type Signature ¶
func AggregateSignatures ¶
func SignatureFromBytes ¶
func (*Signature) AggregateVerify ¶
func (sig *Signature) AggregateVerify(items []*PubDigestPair, scheme blst.Scheme) error
Click to show internal directories.
Click to hide internal directories.