Class: ClearKeyKeySet

ClearKeyKeySet

A collection of ClearKey encryption keys with an (optional) associated type


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.

Source:

Methods


toJWK()

Convert this key set to its JSON Web Key (JWK) representation

Source:
Returns:

JWK object UTF-8 encoded as ArrayBuffer

Type
ArrayBuffer