Documentation
¶
Index ¶
Constants ¶
View Source
const BLS12381G1 = 0xd0ea
View Source
const BLS12381G2 = 0xd0eb
View Source
const EIP191 = 0xd191
View Source
const ES256 = 0xd01200
View Source
const ES256K = 0xd0e7
View Source
const ES384 = 0xd01201
View Source
const ES512 = 0xd01202
View Source
const EdDSA = 0xd0ed
View Source
const NON_STANDARD = 0xd000
View Source
const RS256 = 0xd01205
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Signature ¶
type Signature interface { Code() uint64 Size() uint64 Bytes() []byte // Raw signature (without signature algorithm info). Raw() []byte }
func NewNonStandard ¶
func NewSignature ¶
type SignatureView ¶
type SignatureView interface { Signature // Verify that the signature was produced by the given message. Verify(msg []byte, signer Verifier) bool }
func NewSignatureView ¶
func NewSignatureView(s Signature) SignatureView
Click to show internal directories.
Click to hide internal directories.