Static
buildThis will create individual keys for each of the tags that look like tag.tag_property
Static
canChecks if the given RecordsDelete message can be performed against a record with the given newest existing state.
Static
constructConstructs full key derivation path using the specified scheme.
Static
constructStatic
constructStatic
constructConstructs the full key derivation path using protocolPath
scheme.
Static
constructStatic
convertConverts an incoming RecordsFilter into a Filter usable by MessageStore.
A RecordsFilter
Optional
dateSort: DateSorta generic Filter able to be used with MessageStore.
Static
convertThis will create individual keys for each of the tag filters that look like tag.tag_filter_property
Static
decryptDecrypts the encrypted data in a message reply using the given ancestor private key.
Any ancestor private key in the key derivation path.
Static
deriveDerives a descendant private key given an ancestor private key and the full absolute derivation path.
NOTE: right now only ECIES-ES256K
algorithm is supported for asymmetric encryption,
so we will only derive SECP256K1 key without additional conditional checks
Static
filterChecks if the filter supports returning published records.
Static
filterChecks if the filter supports returning unpublished records.
Static
getStatic
isChecks if the given message is a RecordsWriteMessage
.
Static
isStatic
normalizeNormalizes the protocol and schema URLs within a provided RecordsFilter and returns a copy of RecordsFilter with the modified values.
incoming RecordsFilter to normalize.
a copy of the incoming RecordsFilter with the normalized properties.
Static
shouldChecks whether or not the incoming records query filter should build an unpublished author MessageStore filter.
The incoming RecordsFilter to evaluate against.
The author to check against the filter, typically the query/subscribe message author.
True if the filter contains the author, or if the author filter is undefined/empty.
Static
shouldChecks whether or not the incoming records query filter should build an unpublished recipient MessageStore filter.
The incoming RecordsFilter to evaluate against.
The recipient to check against the filter, typically the query/subscribe message author.
True if the filter contains the recipient, or if the recipient filter is undefined/empty.
Static
shouldDetermines if signature payload contains a protocolRole and should be authorized as such.
Static
validateStatic
validateValidates the referential integrity of both author-delegated grant and owner-delegated grant.
Decoded payload of the author signature of the message. Pass undefined
if message is not signed.
Passed purely as a performance optimization so we don't have to decode the signature payload again.
Optional
ownerSignaturePayload: GenericSignaturePayloadDecoded payload of the owner signature of the message. Pass undefined
if no owner signature is present.
Passed purely as a performance optimization so we don't have to decode the owner signature payload again.
Class containing useful utilities related to the Records interface.