- echo(String) - Method in class org.unitedid.yhsm.YubiHSM
-
Test the YubiHSM by sending a string that the YubiHSM will echo back.
- EchoCmd - Class in org.unitedid.yhsm.internal
-
EchoCmd implements the YubiHSM echo command.
- encode(String) - Static method in class org.unitedid.yhsm.utility.ModHex
-
Encode a hex string as modHex
- encrypt(DeviceHandler, int, String) - Static method in class org.unitedid.yhsm.internal.AESECBCmd
-
AES ECB encrypt a plaintext string using a specific key handle.
- encryptAES_ECB(String, int) - Method in class org.unitedid.yhsm.YubiHSM
-
AES ECB encrypt a plaintext string using a specific key handle.
- execHMACSHA1_Raw(DeviceHandler, byte[], int, byte) - Static method in class org.unitedid.yhsm.internal.HMACCmd
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- execute(DeviceHandler, byte, byte[], boolean) - Static method in class org.unitedid.yhsm.internal.CommandHandler
-
- execute(DeviceHandler, String) - Static method in class org.unitedid.yhsm.internal.EchoCmd
-
Test the YubiHSM by sending a string that the YubiHSM will echo back.
- execute(DeviceHandler, String) - Static method in class org.unitedid.yhsm.internal.KeyStorageUnlockCmd
-
Unlock the YubiHSM key storage using the HSM password.
- execute(DeviceHandler, String) - Static method in class org.unitedid.yhsm.internal.KeyStoreDecryptCmd
-
- execute(DeviceHandler, String, int, String) - Static method in class org.unitedid.yhsm.internal.LoadTemporaryKeyCmd
-
Load the content of an AEAD into the phantom key handle 0xffffffff.
- execute(DeviceHandler) - Static method in class org.unitedid.yhsm.internal.MonitorExitCmd
-
Send the magics to the HSM to get it to exit to configuration mode.
- execute(DeviceHandler, short) - Static method in class org.unitedid.yhsm.internal.NonceGetCmd
-
Get a nonce from the YubiHSM.
- execute(DeviceHandler, int) - Static method in class org.unitedid.yhsm.internal.RandomCmd
-
Tell the YubiHSM to generate a number of random bytes.
- execute(DeviceHandler, String) - Static method in class org.unitedid.yhsm.internal.RandomReseedCmd
-
Provide YubiHSM DRBG_CTR with a new seed.
- execute(DeviceHandler, String, int, String, String) - Static method in class org.unitedid.yhsm.internal.YubikeyOtpDecodeCmd
-
Load the content of an AEAD into the phantom key handle 0xffffffff.
- exitMonitorDebugMode() - Method in class org.unitedid.yhsm.YubiHSM
-
Tell the YubiHSM to exit to configuration mode (requires 'debug' mode enabled).
- generateAEAD(DeviceHandler, String, int, byte[]) - Static method in class org.unitedid.yhsm.internal.AEADCmd
-
Generate AEADCmd block from data for a specific key and nonce.
- generateAEAD(String, int, byte[]) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate AEAD block from the data for a specific key handle and nonce.
- generateAEAD(String, int, String) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate AEAD block from the data for a specific key handle and nonce.
- generateBufferAEAD(DeviceHandler, String, int) - Static method in class org.unitedid.yhsm.internal.AEADCmd
-
Generate AEAD block of data buffer for a specific key.
- generateBufferAEAD(String, int) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate AEAD block of data buffer for a specific key.
- generateHMACSHA1(DeviceHandler, byte[], int, byte, boolean, boolean) - Static method in class org.unitedid.yhsm.internal.HMACCmd
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1(byte[], int, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1(String, int, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1(byte[], int, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1(String, int, byte, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1(byte[], int, byte, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate HMAC SHA1 using a key handle in the YubiHSM.
- generateHMACSHA1Next(String, int, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
- generateHMACSHA1Next(byte[], int, boolean, boolean) - Method in class org.unitedid.yhsm.YubiHSM
-
- generateOathAEAD(String, int, String) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate AEAD block which can be used for OATH OTP validation, see validateOathHOTP and
validateOathTOTP.
- generateRandomAEAD(DeviceHandler, String, int, int) - Static method in class org.unitedid.yhsm.internal.AEADCmd
-
Generate a random AEAD block using the YubiHSM internal TRNG.
- generateRandomAEAD(String, int, int) - Method in class org.unitedid.yhsm.YubiHSM
-
Generate a random AEAD block using the YubiHSM internal TRNG.
- get(String) - Static method in class org.unitedid.yhsm.internal.DeviceHandlerFactory
-
- getBuildVersion() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the build version
- getCommandStatus(byte) - Static method in class org.unitedid.yhsm.internal.Defines
-
- getCommandString(byte) - Static method in class org.unitedid.yhsm.internal.Defines
-
- getInfo() - Method in class org.unitedid.yhsm.YubiHSM
-
Get the firmware version and unique ID from the YubiHSM.
- getMajorVersion() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the major version
- getMinHashLength() - Method in class org.unitedid.yhsm.YubiHSM
-
Get the minimum hash length used when generating or validating an AEAD.
- getMinorVersion() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the minor version
- getNonce() - Method in class org.unitedid.yhsm.internal.Nonce
-
- getNonce(short) - Method in class org.unitedid.yhsm.YubiHSM
-
Get a nonce from the YubiHSM.
- getNonceInt() - Method in class org.unitedid.yhsm.internal.Nonce
-
- getPortName() - Method in class org.unitedid.yhsm.internal.DeviceHandler
-
- getPowerUpCount() - Method in class org.unitedid.yhsm.internal.Nonce
-
- getProtocol() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the protocol version
- getRandom(int) - Method in class org.unitedid.yhsm.YubiHSM
-
Tell the YubiHSM to generate a number of random bytes.
- getRawDevice() - Method in class org.unitedid.yhsm.YubiHSM
-
Get the raw device, used for debugging.
- getReadBytes() - Method in class org.unitedid.yhsm.internal.DeviceHandler
-
- getSysId() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the unique id of the device
- getSystemInfo() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the version, protocol and unique id in a string representation
- getTimeout() - Method in class org.unitedid.yhsm.internal.DeviceHandler
-
- getVersion() - Method in class org.unitedid.yhsm.internal.SystemInfoCmd
-
Gets the version in a string representation
- getVolative() - Method in class org.unitedid.yhsm.internal.Nonce
-
- getWrittenBytes() - Method in class org.unitedid.yhsm.internal.DeviceHandler
-
- getYubiKeyOtp(String) - Static method in class org.unitedid.yhsm.utility.Utils
-
- getYubiKeyPublicId(String) - Static method in class org.unitedid.yhsm.utility.Utils
-