Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProofOfPossession ¶
type ProofOfPossession struct { PublicKey [bls.PublicKeyLen]byte `serialize:"true" json:"publicKey"` // BLS signature proving ownership of [PublicKey]. The signed message is the // [PublicKey]. ProofOfPossession [bls.SignatureLen]byte `serialize:"true" json:"proofOfPossession"` // contains filtered or unexported fields }
func NewProofOfPossession ¶
func NewProofOfPossession(sk *bls.SecretKey) *ProofOfPossession
func (*ProofOfPossession) Key ¶
func (p *ProofOfPossession) Key() *bls.PublicKey
func (*ProofOfPossession) MarshalJSON ¶
func (p *ProofOfPossession) MarshalJSON() ([]byte, error)
func (*ProofOfPossession) UnmarshalJSON ¶
func (p *ProofOfPossession) UnmarshalJSON(b []byte) error
func (*ProofOfPossession) Verify ¶
func (p *ProofOfPossession) Verify() error
Directories ¶
Path | Synopsis |
---|---|
Package signermock is a generated GoMock package.
|
Package signermock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.