subtle

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: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BLS12381G2Signer

type BLS12381G2Signer = subtle.BLS12381G2Signer

BLS12381G2Signer is the BBS+ signer for BLS12-381 curve for keys on a G2 group. Currently this is the only available BBS+ signer in aries-framework-go (see `pkg/doc/bbs/bbs12381g2pub/bbs.go`). Other BBS+ signers can be added later if needed.

func NewBLS12381G2Signer

func NewBLS12381G2Signer(privateKey []byte) *BLS12381G2Signer

NewBLS12381G2Signer creates a new instance of BLS12381G2Signer with the provided privateKey.

type BLS12381G2Verifier

type BLS12381G2Verifier = subtle.BLS12381G2Verifier

BLS12381G2Verifier is the BBS+ signature/proof verifier for keys on BLS12-381 curve with a point in the G2 group. Currently this is the only available BBS+ verifier in aries-framework-go (see `pkg/doc/bbs/bbs12381g2pub/bbs.go`). Other BBS+ verifiers can be added later if needed.

func NewBLS12381G2Verifier

func NewBLS12381G2Verifier(signerPublicKey []byte) *BLS12381G2Verifier

NewBLS12381G2Verifier creates a new instance of BLS12381G2Verifier with the provided signerPublicKey.

Jump to

Keyboard shortcuts

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