Skip to content

Commit 502fddd

Browse files
committed
changed methods to private
1 parent 8ee89a4 commit 502fddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg/src/main/java/org/bouncycastle/openpgp/operator/jcajce/JcePBEKeyEncryptionMethodGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ protected byte[] getEskAndTag(int kekAlgorithm, int aeadAlgorithm, byte[] sessio
188188

189189
}
190190

191-
public static String getBaseAEADAlgorithm(int encAlgorithm)
191+
private static String getBaseAEADAlgorithm(int encAlgorithm)
192192
throws PGPException
193193
{
194194
if (encAlgorithm == SymmetricKeyAlgorithmTags.AES_128
@@ -206,7 +206,7 @@ else if (encAlgorithm == SymmetricKeyAlgorithmTags.CAMELLIA_128
206206
throw new PGPException("AEAD only supported for AES and Camellia based algorithms");
207207
}
208208

209-
public static Cipher createAEADCipher(String algorithm, int aeadAlgorithm)
209+
private static Cipher createAEADCipher(String algorithm, int aeadAlgorithm)
210210
throws PGPException
211211
{
212212
// Block Cipher must work on 16 byte blocks

0 commit comments

Comments
 (0)