client

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0, BSD-3-Clause, MIT, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	// contains filtered or unexported fields
}

func NewSigner

func NewSigner(cryptoprovider *types.CryptoProvider, loader *ld.CachingDocumentLoader) *Signer

func (*Signer) CreateCredential

func (s *Signer) CreateCredential(data []byte, issuer, namespace, key, nonce, signaturetype, format string, disclosureFrame, t []string) ([]byte, error)

func (*Signer) CreateCredentialLDPVCProof added in v1.1.4

func (s *Signer) CreateCredentialLDPVCProof(key string, vc []byte) ([]byte, error)

func (*Signer) CreateCredentialPlain added in v1.1.4

func (s *Signer) CreateCredentialPlain(cred []byte) ([]byte, error)

func (*Signer) CreateCredentialSdJwtPresentation added in v1.1.4

func (s *Signer) CreateCredentialSdJwtPresentation(key, aud, group, sdjwt, nonce string, disclosureFrame []string) ([]byte, error)

func (*Signer) CreateCredentialSdJwtProof added in v1.1.4

func (s *Signer) CreateCredentialSdJwtProof(key string, vc []byte) ([]byte, error)

func (*Signer) CreatePresentation

func (s *Signer) CreatePresentation(data []byte, issuer, namespace, key, nonce, signaturetype, format string, disclosureFrame []string) ([]byte, error)

func (*Signer) CreatePresentationPlain added in v1.1.4

func (s *Signer) CreatePresentationPlain(cred []byte) ([]byte, error)

func (*Signer) CreatePresentationProof

func (s *Signer) CreatePresentationProof(key string, vp []byte) ([]byte, error)

func (*Signer) VerifyCredentialLDPVcProof added in v1.1.4

func (s *Signer) VerifyCredentialLDPVcProof(vc []byte) error

func (*Signer) VerifyCredentialSdJwtProof added in v1.1.4

func (s *Signer) VerifyCredentialSdJwtProof(vc []byte, disclosureFrame []string) error

func (*Signer) VerifyPresentationProof

func (s *Signer) VerifyPresentationProof(vp []byte, aud, nonce *string, disclosureFrame []string, format string) error

Jump to

Keyboard shortcuts

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