| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFAULT_MAX_ROUNDS
Various discussions on the net seem to indicate that 64 is the value at which many computers seem to slow down noticeably, so we are rather generous here. |
| private static final AtomicInteger | |
| public static final String | |
| private int | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public byte[] | decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, CipherFactory cipherSpec, byte[] privateDataBytes, String password)
Implements org.
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static int | |
| public final String | |
| public int | |
| public byte[] | |
| public int | |
| public void | initialize(String name, byte[] kdfOptions)
Implements org.
|
| protected void | |
| public boolean | |
| public static void | |
| public void | |
| public void | |
| public String |
| DEFAULT_MAX_ROUNDS | back to summary |
|---|---|
| public static final int DEFAULT_MAX_ROUNDS Various discussions on the net seem to indicate that 64 is the value at which many computers seem to slow down
noticeably, so we are rather generous here. The default value (unless overridden by the | |
| MAX_ROUNDS_HOLDER | back to summary |
|---|---|
| private static final AtomicInteger MAX_ROUNDS_HOLDER | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| numRounds | back to summary |
|---|---|
| private int numRounds | |
| salt | back to summary |
|---|---|
| private byte[] salt | |
| BCryptKdfOptions | back to summary |
|---|---|
| public BCryptKdfOptions() | |
| bcryptKdf | back to summary |
|---|---|
| protected void bcryptKdf(byte[] password, byte[] output) throws IOException, GeneralSecurityException | |
| decodePrivateKeyBytes | back to summary |
|---|---|
| public byte[] decodePrivateKeyBytes(SessionContext session, NamedResource resourceKey, CipherFactory cipherSpec, byte[] privateDataBytes, String password) throws IOException, GeneralSecurityException Implements org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getMaxAllowedRounds | back to summary |
|---|---|
| public static int getMaxAllowedRounds() | |
| getName | back to summary |
|---|---|
| public final String getName() Implements org.
| |
| getNumRounds | back to summary |
|---|---|
| public int getNumRounds() | |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initialize | back to summary |
|---|---|
| public void initialize(String name, byte[] kdfOptions) throws IOException Implements org.
| |
| initialize | back to summary |
|---|---|
| protected void initialize(InputStream stream, int maxSaltSize) throws IOException | |
| isEncrypted | back to summary |
|---|---|
| public boolean isEncrypted() Implements org.
| |
| setMaxAllowedRounds | back to summary |
|---|---|
| public static void setMaxAllowedRounds(int value) | |
| setNumRounds | back to summary |
|---|---|
| public void setNumRounds(int numRounds) | |
| setSalt | back to summary |
|---|---|
| public void setSalt(byte[] salt) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| rounds | back to summary |
|---|---|
| private final int rounds | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| BCryptBadRoundsException | back to summary |
|---|---|
| public BCryptBadRoundsException(int rounds) | |
| BCryptBadRoundsException | back to summary |
|---|---|
| public BCryptBadRoundsException(int rounds, String message) | |
| BCryptBadRoundsException | back to summary |
|---|---|
| public BCryptBadRoundsException(int rounds, String message, Throwable reason) | |
| getRounds | back to summary |
|---|---|
| public int getRounds() | |