| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JcaJceHelper | |
| private byte[] | |
| private byte[] | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | getKey()
Implements org. return the last key generated |
| public byte[] | getNonce()
Implements org. return the last nonce generated |
| helper | back to summary |
|---|---|
| private final JcaJceHelper helper | |
| key | back to summary |
|---|---|
| private byte[] key | |
| nonce | back to summary |
|---|---|
| private byte[] nonce | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| JceETSIDataEncryptor | back to summary |
|---|---|
| private JceETSIDataEncryptor(SecureRandom random, JcaJceHelper helper) | |
| encrypt | back to summary |
|---|---|
| public byte[] encrypt(byte[] content) Implements org. | |
| getKey | back to summary |
|---|---|
| public byte[] getKey() Implements org. Doc from org. return the last key generated
| |
| getNonce | back to summary |
|---|---|
| public byte[] getNonce() Implements org. Doc from org. return the last nonce generated
| |
| Modifier and Type | Field and Description |
|---|---|
| private JcaJceHelper | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JceETSIDataEncryptor | |
| public JceETSIDataEncryptor. | Returns: the current builder.the JCE provider to use. provider)Sets the JCE provider to source cryptographic primitives from. |
| public JceETSIDataEncryptor. | Returns: the current builder.the name of the JCE provider to use. providerName)Sets the JCE provider to source cryptographic primitives from. |
| public JceETSIDataEncryptor. |
| helper | back to summary |
|---|---|
| private JcaJceHelper helper | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public JceETSIDataEncryptor build() | |
| setProvider | back to summary |
|---|---|
| public JceETSIDataEncryptor. Sets the JCE provider to source cryptographic primitives from.
| |
| setProvider | back to summary |
|---|---|
| public JceETSIDataEncryptor. Sets the JCE provider to source cryptographic primitives from.
| |
| setRandom | back to summary |
|---|---|
| public JceETSIDataEncryptor. | |