public class PGPUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_SIZE |
static int |
BUFFER_SIZE |
private static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
PGPUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
encrypt(InputStream in,
OutputStream out,
String algorithm,
String provider,
int cipher,
String filename,
org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator encryptionMethodGenerator) |
private static final org.slf4j.Logger logger
public static final int BUFFER_SIZE
public static final int BLOCK_SIZE
public static void encrypt(InputStream in, OutputStream out, String algorithm, String provider, int cipher, String filename, org.bouncycastle.openpgp.operator.PGPKeyEncryptionMethodGenerator encryptionMethodGenerator) throws IOException, org.bouncycastle.openpgp.PGPException
IOExceptionorg.bouncycastle.openpgp.PGPExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.