Expand description
Core utilities.
Traits§
- HasEndpoints
- Extracts endpoints (
ServiceEndpoint
) from a type. - HasKeys
- Extracts keys (
JWK
) from a type.
Functions§
- canonicalize
JSON_CANONICALIZATION_SCHEME
- canonicalize_
str JSON_CANONICALIZATION_SCHEME
from a&str
through typeT
to canonicalizedString
.- decode
- Extracts and decodes the payload from the JWT.
- decode_
verify - Extracts payload from JWT and verifies signature.
- extract_
keys - Extracts a vec of public keys from a DID document.
- generate_
key - Generates a new cryptographic key.
- get_
did_ from_ suffix - Converts a short-form DID into a complete DID.
- get_
did_ suffix - Returns the suffix of a short-form DID.
- get_
operations_ path - Gets the path for storing operations and creates directories if they do not exist.
- hash
- Hash and encode data
- init
- json_
contains - Tests whether one JSON object contains all the elements of another.
- type_of
- Gets the type of an object as a String. For diagnostic purposes (debugging) only.