Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OakClient ¶
type OakClient struct {
// contains filtered or unexported fields
}
OakClient implements Oak client.
func (*OakClient) GetAnchorOrigin ¶
GetAnchorOrigin will retrieve anchor credential based on CID, parse Sidetree core index file referenced in anchor credential and return anchor origin.
type Option ¶
type Option func(opts *OakClient)
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.
Click to show internal directories.
Click to hide internal directories.