public class LoadTemporaryKeyCmd extends Object
LoadTemporaryKeyCmd implements loading AEAD into the phantom key handle| Modifier and Type | Method and Description |
|---|---|
static boolean |
execute(DeviceHandler device,
String nonce,
int keyHandle,
String aead)
Load the content of an AEAD into the phantom key handle 0xffffffff.
|
public static boolean execute(DeviceHandler device, String nonce, int keyHandle, String aead) throws YubiHSMInputException, YubiHSMErrorException, YubiHSMCommandFailedException
device - the device handlernonce - the noncekeyHandle - the key handle with permission to use YSM_TEMP_KEY_LOADaead - the AEAD to load into the phantom key handleYubiHSMCommandFailedException - command fail exceptionYubiHSMErrorException - error exceptionYubiHSMInputException - argument exceptionsCopyright © 2011-2016 United ID. All Rights Reserved.