Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationStoreClient ¶
type OperationStoreClient interface { // Get retrieves all operations related to document Get(uniqueSuffix string) ([]*operation.AnchoredOperation, error) }
OperationStoreClient defines interface for retrieving all operations related to document.
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator is responsible for validating did operations and sidetree rules.
func (*Validator) IsValidOriginalDocument ¶
IsValidOriginalDocument verifies that the given payload is a valid Sidetree specific did document that can be accepted by the Sidetree create operation.
func (*Validator) IsValidPayload ¶
IsValidPayload verifies that the given payload is a valid Sidetree specific payload that can be accepted by the Sidetree update operations.
Click to show internal directories.
Click to hide internal directories.