Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileIdxValidator ¶
type FileIdxValidator struct {
*docvalidator.Validator
}
FileIdxValidator validates the file index Sidetree document
func NewFileIdxValidator ¶
func NewFileIdxValidator(store docvalidator.OperationStoreClient) *FileIdxValidator
NewFileIdxValidator returns a new file index document validator
func (*FileIdxValidator) IsValidOriginalDocument ¶
func (v *FileIdxValidator) IsValidOriginalDocument(payload []byte) error
IsValidOriginalDocument verifies that the given payload is a valid Sidetree specific document that can be accepted by the Sidetree create operation.
func (*FileIdxValidator) IsValidPayload ¶
func (v *FileIdxValidator) IsValidPayload(payload []byte) error
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.