JWSPacker class
Packer that can pack message to JWZ token, and unpack and validate JWZ envelope
ZKPPacker implements IPacker interface
Signature:
export declare class JWSPacker implements IPacker
Implements: IPacker
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(_kms, _documentResolver) | Creates an instance of JWSPacker. |
Methods
| Method | Modifiers | Description |
|---|---|---|
| mediaType() | ||
| pack(payload, params) | creates JSON Web Signature token | |
| unpack(envelope) | validate envelope which is jwz token |