Documentation ¶
Index ¶
- Constants
- func GenKey(params ...interface{}) (*crypto.PrivateKey, *crypto.PublicKey, error)
- func MarshalJSON(a crypto.PublicKey) ([]byte, error)
- func Sign(hash []byte, priKey crypto.PrivateKey) (*crypto.Signature, error)
- func UnmarshalJSON(input []byte) (*crypto.PublicKey, error)
- func Verify(hash []byte, sig crypto.Signature) (bool, error)
Constants ¶
View Source
const ( SourceName = "PDU" MultipleSignatures = "MS" Signature2PublicKey = "S2PK" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.