Class SmartCardHSMSymmetricKeySpecGenerator
Class implementing an encoder for the C-Data required in Generate Symmetric Key
Defined in: SmartCardHSM.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SmartCardHSMSymmetricKeySpecGenerator(allowedAlgorithms)
Create a key specification generator instance for AES keys
|
Method Attributes | Method Name and Description |
---|---|
encode()
Return the encoded AES key specification
|
|
setKeyDomain(keyDomain)
Set key domain
|
Class Detail
SmartCardHSMSymmetricKeySpecGenerator(allowedAlgorithms)
Create a key specification generator instance for AES keys
- Parameters:
- {ByteString} allowedAlgorithms
- the list of allowed algorithm identifier
Method Detail
{ByteString}
encode()
Return the encoded AES key specification
- Returns:
- the encoded C-Data for Generate Symmetric Key
setKeyDomain(keyDomain)
Set key domain
- Parameters:
- {Number} keyDomain
- the key domain to which the key shall be added