Documentation ¶
Overview ¶
Package ed25519signature2020 implements the Ed25519Signature2020 signature suite for the Linked Data Signatures [LD-SIGNATURES] specification. It uses the RDF Dataset Normalization Algorithm [RDF-DATASET-NORMALIZATION] to transform the input document into its canonical form. It uses SHA-256 [RFC6234] as the message digest algorithm and Ed25519 [ED25519] as the signature algorithm.
Index ¶
Constants ¶
View Source
const ( // SignatureType is the signature type for ed25519 keys. SignatureType = ed25519signature2020.SignatureType )
Variables ¶
This section is empty.
Functions ¶
func NewPublicKeyVerifier ¶
func NewPublicKeyVerifier() *verifier.PublicKeyVerifier
NewPublicKeyVerifier creates a signature verifier that verifies a Ed25519 signature taking Ed25519 public key bytes as input.
Types ¶
Click to show internal directories.
Click to hide internal directories.