mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
small tidy
This commit is contained in:
parent
71fd7574ec
commit
036480a210
@ -378,7 +378,7 @@ public class PgpKeyOperation {
|
||||
keyFlags |= KeyFlags.SIGN_DATA;
|
||||
//cross-certify signing keys
|
||||
PGPContentSignerBuilder signerBuilder = new JcaPGPContentSignerBuilder(
|
||||
subKey.getPublicKey().getAlgorithm(), PGPUtil.SHA1)
|
||||
subPublicKey.getAlgorithm(), PGPUtil.SHA1)
|
||||
.setProvider(Constants.BOUNCY_CASTLE_PROVIDER_NAME);
|
||||
PGPSignatureGenerator sGen = new PGPSignatureGenerator(signerBuilder);
|
||||
sGen.init(PGPSignature.PRIMARYKEY_BINDING, subPrivateKey);
|
||||
|
Loading…
Reference in New Issue
Block a user