Versions in this module Expand all Collapse all v0 v0.1.26 Sep 22, 2023 Changes in this version + func Normalize(src interface{}, algo string) (*string, error) + type Proof struct + Created time.Time + Domain string + ProofPurpose string + ProofValue string + Type string + VerificationMethod string + type ProofBuilder struct + func NewProofBuilder(pk *cryptosuite.PrivateKey, purpose string) *ProofBuilder + func (p *ProofBuilder) Build() (*Proof, error) + func (p *ProofBuilder) Source(src interface{}) *ProofBuilder + type ProofPurpose string + var ProofPurposeAssertionMethod ProofPurpose = "assertionMethod" + var ProofPurposeAuthentication ProofPurpose = "authentication" + var ProofPurposeCapabilityDelegation ProofPurpose = "capabilityDelegation" + var ProofPurposeCapabilityInvocation ProofPurpose = "capabilityInvocation" + var ProofPurposeKeyAgreement ProofPurpose = "keyAgreement"