PrivateKeyEncryptionContext for use with a OpenSSHKeyPairResourceWriter.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final int | DEFAULT_KDF_ROUNDS
Default number of bcrypt KDF rounds to apply. |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public String | |
| public int | Returns: the default number of KDF rounds, >=DEFAULT_KDF_ROUNDSRetrieves the number of KDF rounds to apply. |
| public void | |
| public void |
| AES | back to summary |
|---|---|
| public static final String AES | |
| DEFAULT_KDF_ROUNDS | back to summary |
|---|---|
| public static final int DEFAULT_KDF_ROUNDS Default number of bcrypt KDF rounds to apply. | |
| kdfRounds | back to summary |
|---|---|
| private int kdfRounds | |
| OpenSSHKeyEncryptionContext | back to summary |
|---|---|
| public OpenSSHKeyEncryptionContext() | |
| getCipherFactoryName | back to summary |
|---|---|
protected String getCipherFactoryName()
| |
| getCipherName | back to summary |
|---|---|
| public String getCipherName() Overrides org.
| |
| getKdfRounds | back to summary |
|---|---|
| public int getKdfRounds() Retrieves the number of KDF rounds to apply.
| |
| setCipherName | back to summary |
|---|---|
| public void setCipherName(String value) Overrides org.
| |
| setKdfRounds | back to summary |
|---|---|
| public void setKdfRounds(int rounds) Sets the number of KDF rounds to apply. If smaller than the
| |