Package org.conscrypt
Class OpenSSLCipherRSA.DirectRSA
java.lang.Object
javax.crypto.CipherSpi
org.conscrypt.OpenSSLCipherRSA
org.conscrypt.OpenSSLCipherRSA.DirectRSA
- Direct Known Subclasses:
OpenSSLCipherRSA.PKCS1
,OpenSSLCipherRSA.Raw
- Enclosing class:
OpenSSLCipherRSA
-
Nested Class Summary
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipherRSA
OpenSSLCipherRSA.DirectRSA, OpenSSLCipherRSA.OAEP, OpenSSLCipherRSA.PKCS1, OpenSSLCipherRSA.Raw
-
Field Summary
Fields inherited from class org.conscrypt.OpenSSLCipherRSA
encrypting, key, padding, usingPrivateKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
doCryptoOperation
(byte[] tmpBuf, byte[] output) Methods inherited from class org.conscrypt.OpenSSLCipherRSA
doCryptoInit, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineInitInternal, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap, isInitialized, keySizeBytes, paddedBlockSizeBytes
Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
-
Constructor Details
-
DirectRSA
public DirectRSA(int padding)
-
-
Method Details
-
doCryptoOperation
int doCryptoOperation(byte[] tmpBuf, byte[] output) throws BadPaddingException, IllegalBlockSizeException - Specified by:
doCryptoOperation
in classOpenSSLCipherRSA
- Throws:
BadPaddingException
IllegalBlockSizeException
-