Fix checkstyle issues
This commit is contained in:
parent
374e6452f0
commit
d3f412873b
|
@ -449,9 +449,9 @@ public final class KeyRingUtils {
|
|||
*/
|
||||
@Nonnull
|
||||
public static PGPSecretKeyRing stripSecretKey(@Nonnull PGPSecretKeyRing secretKeys,
|
||||
long secretKeyId)
|
||||
long secretKeyId)
|
||||
throws IOException, PGPException {
|
||||
|
||||
|
||||
if (secretKeys.getPublicKey().getKeyID() == secretKeyId) {
|
||||
throw new IllegalArgumentException("Bouncy Castle currently cannot deal with stripped secret primary keys.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue