Versions in this module Expand all Collapse all v1 v1.3.1 Dec 16, 2024 v1.3.0 Dec 4, 2024 Changes in this version + const SuiteType + const SuiteType2 + func NewSignerInitializer(options *SignerInitializerOptions) suite.SignerInitializer + func NewVerifierInitializer(options *VerifierInitializerOptions) suite.VerifierInitializer + type KMSSigner interface + Sign func(msg []byte, kh interface{}) ([]byte, error) + type Options struct + ED25519Verifier Verifier + LDDocumentLoader ld.DocumentLoader + SignerGetter SignerGetter + type Signer interface + Sign func(msg []byte) ([]byte, error) + type SignerGetter func(pub *jwk.JWK) (Signer, error) + func WithKMSCryptoWrapper(kmsCrypto wrapperapi.KMSCryptoSigner) SignerGetter + func WithStaticSigner(signer Signer) SignerGetter + type SignerInitializerOptions struct + LDDocumentLoader ld.DocumentLoader + SignerGetter SignerGetter + type Suite struct + func (s *Suite) CreateProof(doc []byte, opts *models.ProofOptions) (*models.Proof, error) + func (s *Suite) RequiresCreated() bool + func (s *Suite) VerifyProof(doc []byte, proof *models.Proof, opts *models.ProofOptions) error + type SuiteInitializer func() (suite.Suite, error) + func New(options *Options) SuiteInitializer + type Verifier interface + Verify func(signature, msg []byte, pubKey *pubkey.PublicKey) error + type VerifierInitializerOptions struct + Ed25519Verifier Verifier + LDDocumentLoader ld.DocumentLoader