@Immutable public abstract class BasicPbeEncryption extends Object implements Encryption
| Modifier | Constructor and Description |
|---|---|
protected |
BasicPbeEncryption(PbeParameters pbe) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
algorithm() |
PbeParameters |
parameters()
Returns the encryption parameters.
|
protected char[] |
password() |
protected SecretKey |
secretKey() |
protected static <V> V |
wrap(Callable<V> task)
Executes the given
task and wraps any
non-RuntimeException and non-IOException
in a new IOException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, unapplyprotected BasicPbeEncryption(PbeParameters pbe)
protected final String algorithm()
public final PbeParameters parameters()
EncryptionParametersProviderparameters in interface EncryptionParametersProviderprotected final char[] password()
protected static <V> V wrap(Callable<V> task) throws IOException
task and wraps any
non-RuntimeException and non-IOException
in a new IOException.task - the task to Callable.call().RuntimeException - at the discretion of the task.IOException - on any other Exception thrown by the task.Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.