hudson.model
Class UsageStatistics.CombinedCipherInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
hudson.model.UsageStatistics.CombinedCipherInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- UsageStatistics
public static final class UsageStatistics.CombinedCipherInputStream
- extends FilterInputStream
The opposite of the UsageStatistics.CombinedCipherOutputStream
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsageStatistics.CombinedCipherInputStream
public UsageStatistics.CombinedCipherInputStream(InputStream in,
Cipher asym,
String algorithm,
int keyLength)
throws IOException,
GeneralSecurityException
- Parameters:
keyLength
- Block size of the asymmetric cipher, in bits. I thought I can get it from asym.getBlockSize()
but that doesn't work with Sun's implementation.
- Throws:
IOException
GeneralSecurityException
UsageStatistics.CombinedCipherInputStream
public UsageStatistics.CombinedCipherInputStream(InputStream in,
RSAKey key,
String algorithm)
throws IOException,
GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
Copyright © 2004-2013. All Rights Reserved.