Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VDR vdrapi.Registry DocumentLoader ld.DocumentLoader VcVerifier vcVerifier DataIntegrityVerifier *dataintegrity.Verifier }
type PresentationVerificationResult ¶ added in v1.12.0
type PresentationVerificationResult struct {
Checks []*Check
}
PresentationVerificationResult resp containing failure check details.
func (*PresentationVerificationResult) Errors ¶ added in v1.12.0
func (r *PresentationVerificationResult) Errors() []*Check
func (*PresentationVerificationResult) HasErrors ¶ added in v1.12.0
func (r *PresentationVerificationResult) HasErrors() bool
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) VerifyPresentation ¶
func (s *Service) VerifyPresentation( ctx context.Context, presentation *verifiable.Presentation, opts *Options, profile *profileapi.Verifier, ) (PresentationVerificationResult, map[string][]string, error)
type ServiceInterface ¶
type ServiceInterface interface { VerifyPresentation( ctx context.Context, presentation *verifiable.Presentation, opts *Options, profile *profileapi.Verifier, ) (PresentationVerificationResult, map[string][]string, error) }
Click to show internal directories.
Click to hide internal directories.