Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentVerifier ¶
type DocumentVerifier struct {
// contains filtered or unexported fields
}
DocumentVerifier implements JSON LD document proof verification.
func New ¶
func New(resolver keyResolver, suites ...api.VerifierSuite) (*DocumentVerifier, error)
New returns new instance of document verifier.
func (*DocumentVerifier) Verify ¶
func (dv *DocumentVerifier) Verify(jsonLdDoc []byte, opts ...processor.Opts) error
Verify will verify document proofs.
func (*DocumentVerifier) VerifyObject ¶
func (dv *DocumentVerifier) VerifyObject(jsonLdObject map[string]interface{}, opts ...processor.Opts) error
VerifyObject will verify document proofs for JSON LD object.
Click to show internal directories.
Click to hide internal directories.