|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.converter.crypto.PGPDataFormatUtil
public final class PGPDataFormatUtil
Method Summary | |
---|---|
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKey(org.apache.camel.CamelContext context,
String keychainFilename,
byte[] secKeyRing,
InputStream encryptedInput,
String passphrase,
PGPPassphraseAccessor passphraseAccessor,
String provider)
Deprecated. |
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKey(org.apache.camel.CamelContext context,
String keychainFilename,
byte[] secKeyRing,
InputStream encryptedInput,
String passphrase,
String provider)
Deprecated. |
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKey(org.apache.camel.CamelContext context,
String keychainFilename,
InputStream encryptedInput,
String passphrase)
Deprecated. |
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKeyWithKeyId(org.apache.camel.CamelContext context,
String filename,
byte[] secretKeyRing,
long keyid,
String passphrase,
PGPPassphraseAccessor passpraseAccessor,
String provider)
|
static org.bouncycastle.openpgp.PGPPrivateKey |
findPrivateKeyWithkeyId(long keyid,
String passphrase,
PGPPassphraseAccessor passphraseAccessor,
String provider,
org.bouncycastle.openpgp.PGPSecretKeyRingCollection pgpSec)
|
static org.bouncycastle.openpgp.PGPPublicKey |
findPublicKey(org.apache.camel.CamelContext context,
String filename,
byte[] keyRing,
String userid,
boolean forEncryption)
Deprecated. |
static org.bouncycastle.openpgp.PGPPublicKey |
findPublicKey(org.apache.camel.CamelContext context,
String filename,
String userid,
boolean forEncryption)
Deprecated. |
static List<org.bouncycastle.openpgp.PGPPublicKey> |
findPublicKeys(org.apache.camel.CamelContext context,
String filename,
byte[] keyRing,
List<String> userids,
boolean forEncryption)
|
static List<org.bouncycastle.openpgp.PGPPublicKey> |
findPublicKeys(List<String> useridParts,
boolean forEncryption,
org.bouncycastle.openpgp.PGPPublicKeyRingCollection pgpPublicKeyringCollection)
|
static org.bouncycastle.openpgp.PGPPublicKey |
findPublicKeyWithKeyId(org.apache.camel.CamelContext context,
String filename,
byte[] keyRing,
long keyid,
boolean forEncryption)
Deprecated. |
static org.bouncycastle.openpgp.PGPSecretKey |
findSecretKey(org.apache.camel.CamelContext context,
String keychainFilename,
byte[] secKeyRing,
String passphrase,
String provider)
Deprecated. |
static org.bouncycastle.openpgp.PGPSecretKey |
findSecretKey(org.apache.camel.CamelContext context,
String keychainFilename,
byte[] secKeyRing,
String passphrase,
String userId,
String provider)
Deprecated. |
static org.bouncycastle.openpgp.PGPSecretKey |
findSecretKey(org.apache.camel.CamelContext context,
String keychainFilename,
String passphrase)
Deprecated. |
static List<PGPSecretKeyAndPrivateKeyAndUserId> |
findSecretKeysWithPrivateKeyAndUserId(org.apache.camel.CamelContext context,
String keychainFilename,
byte[] secKeyRing,
Map<String,String> sigKeyUserId2Password,
String provider)
|
static List<PGPSecretKeyAndPrivateKeyAndUserId> |
findSecretKeysWithPrivateKeyAndUserId(Map<String,String> sigKeyUserId2Password,
String provider,
org.bouncycastle.openpgp.PGPSecretKeyRingCollection pgpSec)
|
static org.bouncycastle.openpgp.PGPPublicKeyRingCollection |
getPublicKeyRingCollection(org.apache.camel.CamelContext context,
String filename,
byte[] keyRing,
boolean forEncryption)
|
static org.bouncycastle.openpgp.PGPPublicKey |
getPublicKeyWithKeyIdAndUserID(long keyId,
List<String> userIdParts,
org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyringCollection)
Determines a public key from the keyring collection which has a certain key ID and which has a User ID which contains at least one of the User ID parts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static org.bouncycastle.openpgp.PGPPublicKey findPublicKey(org.apache.camel.CamelContext context, String filename, String userid, boolean forEncryption) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPPublicKey findPublicKey(org.apache.camel.CamelContext context, String filename, byte[] keyRing, String userid, boolean forEncryption) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
public static List<org.bouncycastle.openpgp.PGPPublicKey> findPublicKeys(org.apache.camel.CamelContext context, String filename, byte[] keyRing, List<String> userids, boolean forEncryption) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPPublicKey findPublicKeyWithKeyId(org.apache.camel.CamelContext context, String filename, byte[] keyRing, long keyid, boolean forEncryption) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
public static org.bouncycastle.openpgp.PGPPublicKeyRingCollection getPublicKeyRingCollection(org.apache.camel.CamelContext context, String filename, byte[] keyRing, boolean forEncryption) throws IOException, org.bouncycastle.openpgp.PGPException
IOException
org.bouncycastle.openpgp.PGPException
public static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKeyWithKeyId(org.apache.camel.CamelContext context, String filename, byte[] secretKeyRing, long keyid, String passphrase, PGPPassphraseAccessor passpraseAccessor, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
public static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKeyWithkeyId(long keyid, String passphrase, PGPPassphraseAccessor passphraseAccessor, String provider, org.bouncycastle.openpgp.PGPSecretKeyRingCollection pgpSec) throws org.bouncycastle.openpgp.PGPException
org.bouncycastle.openpgp.PGPException
public static List<org.bouncycastle.openpgp.PGPPublicKey> findPublicKeys(List<String> useridParts, boolean forEncryption, org.bouncycastle.openpgp.PGPPublicKeyRingCollection pgpPublicKeyringCollection)
@Deprecated public static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKey(org.apache.camel.CamelContext context, String keychainFilename, InputStream encryptedInput, String passphrase) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKey(org.apache.camel.CamelContext context, String keychainFilename, byte[] secKeyRing, InputStream encryptedInput, String passphrase, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPPrivateKey findPrivateKey(org.apache.camel.CamelContext context, String keychainFilename, byte[] secKeyRing, InputStream encryptedInput, String passphrase, PGPPassphraseAccessor passphraseAccessor, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPSecretKey findSecretKey(org.apache.camel.CamelContext context, String keychainFilename, String passphrase) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPSecretKey findSecretKey(org.apache.camel.CamelContext context, String keychainFilename, byte[] secKeyRing, String passphrase, String userId, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
public static List<PGPSecretKeyAndPrivateKeyAndUserId> findSecretKeysWithPrivateKeyAndUserId(org.apache.camel.CamelContext context, String keychainFilename, byte[] secKeyRing, Map<String,String> sigKeyUserId2Password, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
@Deprecated public static org.bouncycastle.openpgp.PGPSecretKey findSecretKey(org.apache.camel.CamelContext context, String keychainFilename, byte[] secKeyRing, String passphrase, String provider) throws IOException, org.bouncycastle.openpgp.PGPException, NoSuchProviderException
IOException
org.bouncycastle.openpgp.PGPException
NoSuchProviderException
public static List<PGPSecretKeyAndPrivateKeyAndUserId> findSecretKeysWithPrivateKeyAndUserId(Map<String,String> sigKeyUserId2Password, String provider, org.bouncycastle.openpgp.PGPSecretKeyRingCollection pgpSec) throws org.bouncycastle.openpgp.PGPException
org.bouncycastle.openpgp.PGPException
public static org.bouncycastle.openpgp.PGPPublicKey getPublicKeyWithKeyIdAndUserID(long keyId, List<String> userIdParts, org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyringCollection) throws org.bouncycastle.openpgp.PGPException
keyId
- key IDuserIdParts
- user ID parts, can be empty, than no filter on the User ID is
executedpublicKeyringCollection
- keyring collection
null
if no fitting key is found
org.bouncycastle.openpgp.PGPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |