public class OpenPGPPasswordBasedEncryptor extends Object implements EncryptContent.Encryptor
| Modifier and Type | Class and Description |
|---|---|
private static class |
OpenPGPPasswordBasedEncryptor.OpenPGPDecryptCallback |
private static class |
OpenPGPPasswordBasedEncryptor.OpenPGPEncryptCallback |
| Modifier and Type | Field and Description |
|---|---|
private String |
algorithm |
private Integer |
cipher |
private String |
filename |
private static org.slf4j.Logger |
logger |
private char[] |
password |
private String |
provider |
| Constructor and Description |
|---|
OpenPGPPasswordBasedEncryptor(String algorithm,
Integer cipher,
String provider,
char[] passphrase,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
StreamCallback |
getDecryptionCallback() |
StreamCallback |
getEncryptionCallback() |
void |
updateAttributes(Map<String,String> attributes) |
private static final org.slf4j.Logger logger
private String algorithm
private String provider
private char[] password
private String filename
private Integer cipher
public StreamCallback getEncryptionCallback() throws Exception
getEncryptionCallback in interface EncryptContent.EncryptorExceptionpublic StreamCallback getDecryptionCallback() throws Exception
getDecryptionCallback in interface EncryptContent.EncryptorExceptionpublic void updateAttributes(Map<String,String> attributes) throws ProcessException
updateAttributes in interface EncryptContent.EncryptorProcessExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.