Documentation ¶
Overview ¶
Package bbsblssignatureproof2020 implements the BBS+ Signature Proof Suite 2020 signature suite (https://w3c-ccg.github.io/ldp-bbs2020) in conjunction with the signing and verification algorithms of the Linked Data Proofs. It uses the RDF Dataset Normalization Algorithm to transform the input document into its canonical form. It uses SHA-256 [RFC6234] as the statement digest algorithm. It uses BBS+ signature algorithm (https://mattrglobal.github.io/bbs-signatures-spec/). It uses BLS12-381 pairing-friendly curve (https://tools.ietf.org/html/draft-irtf-cfrg-pairing-friendly-curves-03).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewG2PublicKeyVerifier ¶
func NewG2PublicKeyVerifier(nonce []byte) *verifier.PublicKeyVerifier
NewG2PublicKeyVerifier creates a signature verifier that verifies a BbsBlsSignatureProof2020 signature taking Bls12381G2Key2020 public key bytes as input.