diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-11 18:08:10 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-11 18:08:10 +0200 |
commit | e39b08192720736018654b18050ad7ad2903d745 (patch) | |
tree | 91aee237174034d8db482ce24a0e92da92dc4b4f /OpenKeychain/src/main | |
parent | c4d9fd88aae38a6b7cfd9c840c3e0d8716cc7ac9 (diff) | |
download | open-keychain-e39b08192720736018654b18050ad7ad2903d745.tar.gz open-keychain-e39b08192720736018654b18050ad7ad2903d745.tar.bz2 open-keychain-e39b08192720736018654b18050ad7ad2903d745.zip |
PgpSignEncrypt: get by master key id
Diffstat (limited to 'OpenKeychain/src/main')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java index e4b66850e..44b632e9e 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpSignEncrypt.java @@ -254,7 +254,7 @@ public class PgpSignEncrypt { PGPPrivateKey signaturePrivateKey = null; if (enableSignature) { try { - signingKeyRing = mProviderHelper.getPGPSecretKeyRingWithKeyId(mSignatureMasterKeyId); + signingKeyRing = mProviderHelper.getPGPSecretKeyRing(mSignatureMasterKeyId); } catch (ProviderHelper.NotFoundException e) { throw new PgpGeneralException(mContext.getString(R.string.error_signature_failed)); } @@ -493,7 +493,7 @@ public class PgpSignEncrypt { PGPSecretKeyRing signingKeyRing; try { - signingKeyRing = mProviderHelper.getPGPSecretKeyRingWithKeyId(mSignatureMasterKeyId); + signingKeyRing = mProviderHelper.getPGPSecretKeyRing(mSignatureMasterKeyId); } catch (ProviderHelper.NotFoundException e) { throw new PgpGeneralException(mContext.getString(R.string.error_signature_failed)); } |