Documentation ¶
Index ¶
- type Signer
- func (s *Signer) CreateCredential(data []byte, issuer, namespace, key, nonce, signaturetype, format string, ...) ([]byte, error)
- func (s *Signer) CreateCredentialLDPVCProof(key string, vc []byte) ([]byte, error)
- func (s *Signer) CreateCredentialPlain(cred []byte) ([]byte, error)
- func (s *Signer) CreateCredentialSdJwtPresentation(key, aud, group, sdjwt, nonce string, disclosureFrame []string) ([]byte, error)
- func (s *Signer) CreateCredentialSdJwtProof(key string, vc []byte) ([]byte, error)
- func (s *Signer) CreatePresentation(data []byte, issuer, namespace, key, nonce, signaturetype, format string, ...) ([]byte, error)
- func (s *Signer) CreatePresentationPlain(cred []byte) ([]byte, error)
- func (s *Signer) CreatePresentationProof(key string, vp []byte) ([]byte, error)
- func (s *Signer) VerifyCredentialLDPVcProof(vc []byte) error
- func (s *Signer) VerifyCredentialSdJwtProof(vc []byte, disclosureFrame []string) error
- func (s *Signer) VerifyPresentationProof(vp []byte, aud, nonce *string, disclosureFrame []string, format string) error
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 (*Signer) CreateCredentialLDPVCProof ¶ added in v1.1.4
func (*Signer) CreateCredentialPlain ¶ added in v1.1.4
func (*Signer) CreateCredentialSdJwtPresentation ¶ added in v1.1.4
func (*Signer) CreateCredentialSdJwtProof ¶ added in v1.1.4
func (*Signer) CreatePresentation ¶
func (*Signer) CreatePresentationPlain ¶ added in v1.1.4
func (*Signer) CreatePresentationProof ¶
func (*Signer) VerifyCredentialLDPVcProof ¶ added in v1.1.4
func (*Signer) VerifyCredentialSdJwtProof ¶ added in v1.1.4
Click to show internal directories.
Click to hide internal directories.