Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VDRResolver ¶
type VDRResolver struct {
// contains filtered or unexported fields
}
VDRResolver resolves DID in order to find public keys for VC verification using vdr.Registry. A source of DID could be issuer of VC or holder of VP. It can be also obtained from JWS "issuer" claim or "verificationMethod" of Linked Data Proof.
func NewVDRResolver ¶
func NewVDRResolver(vdr didResolver) *VDRResolver
NewVDRResolver creates VDRResolver.
func (*VDRResolver) ResolveVerificationMethod ¶
func (r *VDRResolver) ResolveVerificationMethod( verificationMethod string, expectedKeyController string, ) (*VerificationMethod, error)
ResolveVerificationMethod resolves verification method by key id.
Click to show internal directories.
Click to hide internal directories.