mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
key length can be obtained from the key
This commit is contained in:
1 parent
eb19a453a9
commit
c072b3cb6c
2 files changed
+3
-3
No files matched your search
@@ -226,8 +226,8 @@ public class UsageStatistics extends PageDecorator {
|
||||
super.in = new CipherInputStream(in,sym);
|
||||
}
|
||||
|
||||
public CombinedCipherInputStream(InputStream in, RSAKey key, String algorithm, int keyLength) throws IOException, GeneralSecurityException {
|
||||
this(in,toCipher(key,Cipher.DECRYPT_MODE),algorithm,keyLength);
|
||||
public CombinedCipherInputStream(InputStream in, RSAKey key, String algorithm) throws IOException, GeneralSecurityException {
|
||||
this(in,toCipher(key,Cipher.DECRYPT_MODE),algorithm,key.getModulus().bitLength());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user