Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Domain string `json:"domain"` Payload Payload `json:"payload"` Purpose string `json:"purpose"` Signer string `json:"signer"` Timestamp int64 `json:"timestamp"` Signature *hexutil.Bytes `json:"signature,omitempty"` }
func (*Certificate) Encode ¶
func (c *Certificate) Encode() ([]byte, error)
func (*Certificate) SigningHash ¶
func (c *Certificate) SigningHash() (common.Hash, error)
func (*Certificate) Verify ¶
func (c *Certificate) Verify() bool
Click to show internal directories.
Click to hide internal directories.