Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *OrbClient)
Option is an option for document handler.
func WithCurrentProtocolVersion ¶
WithCurrentProtocolVersion sets optional current protocol versions. Defaults to the latest in the protocol versions list.
func WithDisableProofCheck ¶
WithDisableProofCheck sets optional disable proof check flag.
func WithJSONLDDocumentLoader ¶
func WithJSONLDDocumentLoader(docLoader ld.DocumentLoader) Option
WithJSONLDDocumentLoader sets optional document loader.
func WithProtocolVersions ¶
WithProtocolVersions sets optional client protocol versions.
func WithPublicKeyFetcher ¶
func WithPublicKeyFetcher(pkf verifiable.PublicKeyFetcher) Option
WithPublicKeyFetcher sets optional public key fetcher.
type OrbClient ¶
type OrbClient struct {
// contains filtered or unexported fields
}
OrbClient implements Orb client.
func (*OrbClient) GetAnchorOrigin ¶
GetAnchorOrigin will retrieve anchor credential based on CID, parse Sidetree core index file referenced in anchor credential and return anchor origin.
Click to show internal directories.
Click to hide internal directories.