| Modifier and Type | Class and Description |
|---|---|
static class |
Pem.Encryption.Builder
Build
Pem.Encryption instances |
| Constructor and Description |
|---|
Encryption(String algorithm,
int keySize,
byte[] iv,
String blockMode,
Pem.Passphrase passphrase,
boolean ownsPassphrase) |
| Modifier and Type | Method and Description |
|---|---|
String |
algorithm()
The encryption algorithm
|
String |
blockMode()
The block mode
|
static Pem.Encryption.Builder |
builder()
Build
Pem.Encryption instances |
void |
close()
Must erase the contents of the passphrase
|
byte[] |
iv()
The initialization vector
|
int |
keySize()
The key size
|
static Pem.Encryption |
none()
Constant representing the absence of encryption
|
Pem.Passphrase |
passphrase()
The encryption passphrase
|
public Encryption(String algorithm, int keySize, byte[] iv, String blockMode, Pem.Passphrase passphrase, boolean ownsPassphrase)
public static Pem.Encryption none()
Constant representing the absence of encryption
public static Pem.Encryption.Builder builder()
Build Pem.Encryption instances
public void close()
public String algorithm()
The encryption algorithm
public int keySize()
The key size
public byte[] iv()
The initialization vector
public String blockMode()
The block mode
public Pem.Passphrase passphrase()
The encryption passphrase
Copyright © 2016–2024. All rights reserved.