Documentation ¶
Index ¶
Constants ¶
View Source
const PresentProofType = "https://didcomm.org/present-proof/2.0/request-presentation"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *Registry)
func WithEngine ¶
func WithEngine(e PresentationEngine) Option
WithEngine adds did method implementation for store.
type PresentationEngine ¶
type PresentationEngine interface { Accept(typ string) bool RequestPresentation(name, version string, attrInfo map[string]*schema.IndyProofRequestAttr, predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error) RequestPresentationFormat() string Verify(presentation, request []byte, theirDID string, myDID string) error }
type PresentationRegistry ¶
type PresentationRegistry interface { RequestPresentation(name, version, typ string, attrInfo map[string]*schema.IndyProofRequestAttr, predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error) Verify(format string, presentation, request []byte, theirDID string, myDID string) error }
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) RequestPresentation ¶
func (r *Registry) RequestPresentation(name, version, typ string, attrInfo map[string]*schema.IndyProofRequestAttr, predicateInfo map[string]*schema.IndyProofRequestPredicate) (*decorator.AttachmentData, error)
RequestPresentation
Click to show internal directories.
Click to hide internal directories.