Documentation ¶
Index ¶
Constants ¶
View Source
const (
SigID = "eddsa"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterSigner ¶
func RegisterSigner(algs h2signer.SigningKeyAlgs)
RegisterSigner registers a signer alg
func RegisterVerifier ¶
func RegisterVerifier(algs h2signer.VerifierKeyAlgs)
RegisterVerifier registers a verifier alg
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
Key implements SigningKey for ED25519 EdDSA
func NewFromParams ¶
NewFromParams creates an ED25519 EdDSA key from params
func (*Key) Verifier ¶ added in v0.2.8
func (k *Key) Verifier() h2signer.VerifierKey
type PubConfig ¶
func ParsePubConfig ¶
type PubKey ¶
type PubKey struct {
// contains filtered or unexported fields
}
PubKey implements VerifierKey for ED25519 EdDSA
func VerifierFromParams ¶
VerifierFromParams creates an ED25519 EdDSA verifier from params
Click to show internal directories.
Click to hide internal directories.