new ClearKeyKeySet(keyPairs, type)
Parameters:
Name | Type | Description |
---|---|---|
keyPairs |
Array.<KeyPair> | array of key pairs |
type |
the type of keys in this set. One of either 'persistent' or 'temporary'. Can also be null or undefined. |
Methods
-
toJWK()
-
Convert this key set to its JSON Web Key (JWK) representation
Returns:
JWK object UTF-8 encoded as ArrayBuffer
- Type
- ArrayBuffer