Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type G2SignatureProofVerifier ¶
type G2SignatureProofVerifier struct { }
G2SignatureProofVerifier is a signature verifier that verifies a BBS+ Signature Proof taking Bls12381G2Key2020 public key bytes as input. The reference implementation https://github.com/mattrglobal/bls12381-key-pair supports public key bytes only, JWK is not supported.
func NewBBSG2SignatureProofVerifier ¶
func NewBBSG2SignatureProofVerifier() *G2SignatureProofVerifier
NewBBSG2SignatureProofVerifier creates a new BBSG2SignatureProofVerifier.
type G2SignatureVerifier ¶
type G2SignatureVerifier struct { }
G2SignatureVerifier is a signature verifier that verifies a BBS+ Signature taking Bls12381G2Key2020 public key bytes as input. The reference implementation https://github.com/mattrglobal/bls12381-key-pair supports public key bytes only, JWK is not supported.
func NewBBSG2SignatureVerifier ¶
func NewBBSG2SignatureVerifier() *G2SignatureVerifier
NewBBSG2SignatureVerifier creates a new G2SignatureVerifier.
func (*G2SignatureVerifier) SupportedKeyType ¶
func (sv *G2SignatureVerifier) SupportedKeyType(keyType kms.KeyType) bool
SupportedKeyType checks if verifier supports given key.