new wrap(key, headers)
Wraps the given key and headers in a new Recipient instance.
Parameters:
Name | Type | Description |
---|---|---|
key |
Key | Buffer | Key instance or encrypted key |
headers |
Object |
- Source: