Struct wasmcloud_host::WasmCloudActor [−][src]
pub struct WasmCloudActor { /* fields omitted */ }
Expand description
An actor is a WebAssembly module that conforms to the wasmCloud protocols and can securely consume capabilities exposed by capability providers.
Implementations
Create an actor from the bytes of a signed WebAssembly module. Attempting to load an unsigned module, or a module signed improperly, will result in an error.
Create an actor from a signed WebAssembly (.wasm
) file.
Obtain the actor’s public key (The sub
field of the JWT). It is safe to treat this value as a globally unique identifier.
Obtain the issuer’s public key as it resides in the actor’s token (the iss
field of the JWT).
Obtain the list of capabilities declared in this actor’s embedded token.
Obtain the list of tags in the actor’s token.