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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classstatic final classNested classes/interfaces inherited from class OpenSSLCipherRSA
OpenSSLCipherRSA.DirectRSA, OpenSSLCipherRSA.OAEP, OpenSSLCipherRSA.PKCS1, OpenSSLCipherRSA.Raw -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AlgorithmParametersprotected 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 OpenSSLCipherRSA
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineInit, engineSetMode, engineUnwrap, engineUpdate, engineUpdate, engineWrapMethods inherited from class CipherSpi
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
-
Constructor Details
-
OAEP
public OAEP(long defaultMd, int defaultMdSizeBytes)
-
-
Method Details
-
engineGetParameters
- Overrides:
engineGetParametersin classOpenSSLCipherRSA
-
engineSetPadding
- 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
-