Expand description
WasCap implementation for Wick components
Structs§
- Claims
- Represents a set of RFC 7519 compliant JSON Web Token claims.
- Token
- A structure containing a JWT and its associated decoded claims
- Wick
Component - The metadata that corresponds to a wick component module.
Enums§
- Claims
Options - A common struct to group related options together.
- Error
- Wick WasCap’s error type.
Functions§
- extract_
claims - Extract the claims embedded in a WebAssembly module.
- sign_
buffer_ with_ claims - Sign WebAssembly bytes with the passed claims.
- validate_
token - Validates a signed JWT. This will check the signature, expiration time, and not-valid-before time