package
0.1.8
Repository: https://github.com/trustbloc/edv.git
Documentation: pkg.go.dev

# Constants

BadJWEProtectedHeaders is used when the decoded protected header is not in 'key':'value' format.
Base64DecodeJWEProtectedHeadersFailure is used when an error occurs while base64-decoding the JWE protected headers.
BatchFailReadRequestBody is used when the incoming request body can't be read.
BatchReceiveRequest is used for logging new batch operation requests.
BatchResponseFailure is used when one or more operations within a batch request fail.
BatchResponseSuccess is used when all operations within a batch request execute successfully.
BlankController is the message returned by the EDV server when a attempt is made to create a vault with a blank controller.
BlankHMACID is the message returned by the EDV server when a attempt is made to create a vault with a blank HMAC ID.
BlankHMACType is the message returned by the EDV server when a attempt is made to create a vault with a blank HMAC type.
BlankJWE is used when the JWE field in an encrypted document is empty.
BlankJWEAlg is used when the JWE alg field in an encrypted document is empty.
BlankKEKID is the message returned by the EDV server when a attempt is made to create a vault with a blank key agreement key ID.
BlankKEKType is the message returned by the EDV server when a attempt is made to create a vault with a blank key agreement key type.
CheckDuplicateRefIDFailure is used when an error occurs while querying referenceIds.
ConfigStoreNotFound is used when the configuration store can not be found.
CreateDocumentFailReadRequestBody is used when the incoming request body can't be read.
CreateDocumentFailure is used when an error occurs while creating a new document.
CreateDocumentReceiveRequest is used for logging create document requests.
CreateDocumentSuccess is used when a document is successfully created.
CreateVaultFailReadRequestBody is used when the incoming request body can't be read.
DebugLogEvent is used for logging debugging events.
DebugLogEventWithReceivedData is used for logging debugging events with received data.
DeleteDocumentFailure is used when an error occurs while deleting a document.
DeleteDocumentReceiveRequest is used for logging delete document requests.
DeleteMappingDocumentFailure is used when an error occurs while deleting a mapping document for the document.
ErrDocumentNotFound is used when a document could not be found in a vault.
ErrDuplicateDocument is used when an attempt is made to create a document with an ID that is already being used.
ErrDuplicateVault is used when an attempt is made to create a vault under a name that is already being used.
ErrNot128BitValue is the error returned by the EDV server when an attempt is made to create a document with an ID that is base58-encoded, but the original value was not 128 bits long (which is required by the EDV spec).
ErrNotBase58Encoded is the error returned by the EDV server when an attempt is made to create a document with an ID that is not a base58-encoded value (which is required by the EDV spec).
ErrVaultNotFound is used when a vault could not be found in the provider.
FailToMarshalAllDocuments is used when the returned array of documents fails to marshal.
FailToMarshalConfig is used when a data vault configuration can't be marshalled This should not happen during normal operation.
FailToMarshalDocIDs is used when the document IDs returned from a query can't be marshalled.
FailToMarshalDocuments is used when the documents returned from a query can't be marshalled.
FailWhileGetAllDocsFromStoreErrMsg is used when there's a failure while getting all documents from an underlying store.
FailWriteResponse is logged when a ResponseWriter fails to write.
GetLogSpecPrepareErrMsg is used when an error occurs while preparing the list of current log levels for the sender.
GetLogSpecSuccess is used when the current log specification is successfully retrieved.
InvalidBatch is used when an invalid batch operation is received.
InvalidControllerString is the message returned by the EDV server when a attempt is made to create a vault with an invalid controller value.
InvalidDelegatorStringArray is the message returned by the EDV server when a attempt is made to create a vault with invalid delegator values.
InvalidDocumentForDocCreation is used when an invalid document is received while creating a document.
InvalidDocumentForDocUpdate is used when an invalid document is received while updating a document.
InvalidInvokerStringArray is the message returned by the EDV server when a attempt is made to create a vault with invalid invoker values.
InvalidKEKIDString is the message returned by the EDV server when a attempt is made to create a vault with an invalid key agreement key ID value.
InvalidLogSpec is used when a request is made to change the current log specification but it is in an invalid format.
InvalidQuery is used when an invalid query is received.
InvalidRawJWE is used when the JWE in a document is invalid.
InvalidURI is used when the value is not a valid URI.
InvalidVaultConfig is used when a received data vault configuration is invalid.
MarshalBatchForLogFailure is used when the log level is set to debug and a batch request fails to marshal back into bytes for logging purposes.
MarshalDocumentForLogFailure is used when the log level is set to debug and a document fails to marshal back into bytes for logging purposes.
MarshalQueryForLogFailure is used when the log level is set to debug and a query fails to marshal back into bytes for logging purposes.
MarshalVaultConfigForLogFailure is used when the log level is set to debug and a data vault configuration fails to marshal back into bytes for logging purposes.
MismatchedDocIDs is used when docIDs obtained from the path variable and the request body are different.
MultipleDefaultValues is used when an incoming log spec defines multiple default values, which is invalid.
PutLogSpecFailReadRequestBody is used when the incoming request body can't be read.
QueryFailReadRequestBody is used when the incoming request body can't be read.
QueryFailure is used when an error occurs while querying a vault.
QueryReceiveRequest is used for logging new queries.
QuerySuccess is used when a vault is successfully queried.
ReadAllDocumentsFailure is used when an error occurs while reading all documents.
ReadAllDocumentsReceiveRequest is used for logging read all documents requests.
ReadAllDocumentsSuccess is used when all documents are successfully read.
ReadAllDocumentsSuccessWithRetrievedDocs is used when all request documents are successfully read.
ReadDocumentFailure is used when an error occurs while reading a document.
ReadDocumentReceiveRequest is used for logging read document requests.
ReadDocumentSuccess is used when a request document is successfully read.
ReadDocumentSuccessWithRetrievedDoc is used when a request document is successfully read.
SetLogSpecSuccess is used when the current log specification is successfully changed.
StoreVaultConfigFailure is used when an error prevents a data vault configuration from being stored.
UnescapeFailure is used when an error occurs while unescaping a path variable.
UpdateDocumentFailReadRequestBody is used when the incoming request body can't be read.
UpdateDocumentFailure is used when an error occurs while updating a document.
UpdateDocumentReceiveRequest is used for logging update document requests.
UpdateDocumentSuccess is used when a request document is successfully updated.
UpdateMappingDocumentFailure is used when an error occurs while updating the mapping document for the given document.
VaultCreationFailure is used when an error prevents a new data vault from being created.