[−][src]Module yubihsm::authentication
YubiHSM2 authentication functionality (i.e. credentials used to authenticate and establish a session with an HSM)
Modules
commands | Put an existing auth key into the |
Structs
Credentials | Credentials used to establish a session with the HSM |
Key |
|
Enums
Algorithm | Valid algorithms for auth keys |
KeyErrorKind | Kinds of |
Constants
AUTHENTICATION_KEY_SIZE | Auth keys are 2 * AES-128 keys |
DEFAULT_AUTHENTICATION_KEY_ID | Default auth key ID slot |
DEFAULT_PASSWORD | Password from which the default auth key is derived |
DEFAULT_PBKDF2_SALT | Salt value to use with PBKDF2 when deriving auth keys from a password. This salt is designed to be compatible with the password functionality in yubihsm-shell (otherwise using a static salt is not best practice). |
DEFAULT_PBKDF2_ITERATIONS | Number of PBKDF2 iterations to perform when deriving auth keys. This number of iterations matches what is performed by yubihsm-shell. |
Type Definitions
KeyError |
|