public class RandomCmd extends Object
RandomCmd implements YubiHSM random generator.| Modifier and Type | Method and Description |
|---|---|
static byte[] |
execute(DeviceHandler device,
int bytes)
Tell the YubiHSM to generate a number of random bytes.
|
public static byte[] execute(DeviceHandler device, int bytes) throws YubiHSMErrorException, YubiHSMInputException
device - the YubiHSM devicebytes - the number of bytes to generateYubiHSMErrorException - error exceptionYubiHSMInputException - invalid argument exceptionCopyright © 2011-2016 United ID. All Rights Reserved.