Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claim ¶
type Credential ¶
type Credential struct { CredentialToSign Proof Proof `json:"proof"` }
func (Credential) Export ¶
func (c Credential) Export() (buf []byte, err error)
type CredentialSubject ¶
type CredentialToSign ¶
type CredentialToSign struct { Context []string `json:"context"` TypeOfCredential []string `json:"type"` IssuanceDate time.Time `json:"issuanceDate"` CredentialSubject CredentialSubject `json:"credentialSubject"` }
func UnmarshalCredential ¶
func UnmarshalCredential(b []byte) (*CredentialToSign, error)
type Presentation ¶
type Presentation struct { PresentationToSign Proof Proof `json:"proof"` }
func (Presentation) Export ¶
func (p Presentation) Export() (buf []byte, err error)
type PresentationToSign ¶
type PresentationToSign struct { Context []string `json:"context"` TypeOfPresentation []string `json:"type"` Credential Credential `json:"credential"` Nonce []byte `json:"nonce"` }
type Proof ¶
type RawSignature ¶
Click to show internal directories.
Click to hide internal directories.