Package org.conscrypt
Class OpenSSLCipherRSA.OAEP
- java.lang.Object
-
- javax.crypto.CipherSpi
-
- org.conscrypt.OpenSSLCipherRSA
-
- org.conscrypt.OpenSSLCipherRSA.OAEP
-
- Direct Known Subclasses:
OpenSSLCipherRSA.OAEP.SHA1,OpenSSLCipherRSA.OAEP.SHA224,OpenSSLCipherRSA.OAEP.SHA256,OpenSSLCipherRSA.OAEP.SHA384,OpenSSLCipherRSA.OAEP.SHA512
- Enclosing class:
- OpenSSLCipherRSA
public static class OpenSSLCipherRSA.OAEP extends OpenSSLCipherRSA
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenSSLCipherRSA.OAEP.SHA1static classOpenSSLCipherRSA.OAEP.SHA224static classOpenSSLCipherRSA.OAEP.SHA256static classOpenSSLCipherRSA.OAEP.SHA384static classOpenSSLCipherRSA.OAEP.SHA512-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLCipherRSA
OpenSSLCipherRSA.DirectRSA, OpenSSLCipherRSA.OAEP, OpenSSLCipherRSA.PKCS1, OpenSSLCipherRSA.Raw
-
-
Constructor Summary
Constructors Constructor Description OAEP(long defaultMd, int defaultMdSizeBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AlgorithmParametersengineGetParameters()protected voidengineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)protected voidengineInit(int opmode, Key key, AlgorithmParameterSpec spec, SecureRandom random)protected voidengineSetPadding(String padding)-
Methods inherited from class org.conscrypt.OpenSSLCipherRSA
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineInit, engineSetMode, engineUnwrap, engineUpdate, engineUpdate, engineWrap
-
Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
-
-
-
-
Method Detail
-
engineGetParameters
protected AlgorithmParameters engineGetParameters()
- Overrides:
engineGetParametersin classOpenSSLCipherRSA
-
engineSetPadding
protected void engineSetPadding(String padding) throws NoSuchPaddingException
- Overrides:
engineSetPaddingin classOpenSSLCipherRSA- Throws:
NoSuchPaddingException
-
engineInit
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec spec, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException- Overrides:
engineInitin classOpenSSLCipherRSA- Throws:
InvalidKeyExceptionInvalidAlgorithmParameterException
-
engineInit
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException- Overrides:
engineInitin classOpenSSLCipherRSA- Throws:
InvalidKeyExceptionInvalidAlgorithmParameterException
-
-