bbsblssignatureproof2020

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

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.

Types

type Suite

Suite implements BbsBlsSignatureProof2020 signature suite.

func New

func New(opts ...suite.Opt) *Suite

New an instance of Linked Data Signatures for the suite.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL