public final class PGPDataFormatUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
compress(byte[] clearData,
String fileName,
int algorithm) |
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKey(org.apache.camel.CamelContext context,
InputStream keyringInput,
InputStream encryptedInput,
String passphrase) |
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKey(org.apache.camel.CamelContext context,
String keychainFilename,
InputStream encryptedInput,
String passphrase) |
static org.bouncycastle.openpgp.PGPPublicKey |
findPublicKey(org.apache.camel.CamelContext context,
InputStream input,
String userid) |
static org.bouncycastle.openpgp.PGPPublicKey |
findPublicKey(org.apache.camel.CamelContext context,
String filename,
String userid) |
public static org.bouncycastle.openpgp.PGPPublicKey findPublicKey(org.apache.camel.CamelContext context,
String filename,
String userid)
throws IOException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic static org.bouncycastle.openpgp.PGPPublicKey findPublicKey(org.apache.camel.CamelContext context,
InputStream input,
String userid)
throws IOException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKey(org.apache.camel.CamelContext context,
String keychainFilename,
InputStream encryptedInput,
String passphrase)
throws IOException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKey(org.apache.camel.CamelContext context,
InputStream keyringInput,
InputStream encryptedInput,
String passphrase)
throws IOException,
org.bouncycastle.openpgp.PGPException,
NoSuchProviderException
IOExceptionorg.bouncycastle.openpgp.PGPExceptionNoSuchProviderExceptionpublic static byte[] compress(byte[] clearData,
String fileName,
int algorithm)
throws IOException
IOExceptionApache CAMEL