Documentation ¶
Index ¶
- type OntVDRI
- func (o OntVDRI) GetDIDDoc(did string) (vdri.CommonDIDDoc, error)
- func (ontVdri *OntVDRI) IssueCredential(req *message.RequestCredential) (*message.IssueCredential, error)
- func (ontVdri *OntVDRI) OfferCredential(req *message.ProposalCredential) (*message.OfferCredential, error)
- func (ontVdri *OntVDRI) PresentProof(req *message.RequestPresentation, db store.Store) (*message.Presentation, error)
- func (o OntVDRI) VerifyDID(did string) bool
- type SampleSubject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OntVDRI ¶
type OntVDRI struct {
// contains filtered or unexported fields
}
todo use sdk query from smart contract
func NewOntVDRI ¶
func (*OntVDRI) IssueCredential ¶
func (ontVdri *OntVDRI) IssueCredential(req *message.RequestCredential) (*message.IssueCredential, error)
func (*OntVDRI) OfferCredential ¶
func (ontVdri *OntVDRI) OfferCredential(req *message.ProposalCredential) (*message.OfferCredential, error)
func (*OntVDRI) PresentProof ¶
func (ontVdri *OntVDRI) PresentProof(req *message.RequestPresentation, db store.Store) (*message.Presentation, error)
type SampleSubject ¶
Click to show internal directories.
Click to hide internal directories.