Class CMCECipherSpi
java.lang.Object
javax.crypto.CipherSpi
org.bouncycastle.jcajce.provider.asymmetric.cmce.CMCECipherSpi
- Direct Known Subclasses:
CMCECipherSpi.Base, CMCECipherSpi.Mceliece460896, CMCECipherSpi.Mceliece460896F, CMCECipherSpi.Mceliece460896Pc, CMCECipherSpi.Mceliece460896Pcf, CMCECipherSpi.Mceliece6688128, CMCECipherSpi.Mceliece6688128F, CMCECipherSpi.Mceliece6688128Pc, CMCECipherSpi.Mceliece6688128Pcf, CMCECipherSpi.Mceliece6960119, CMCECipherSpi.Mceliece6960119F, CMCECipherSpi.Mceliece6960119Pc, CMCECipherSpi.Mceliece6960119Pcf, CMCECipherSpi.Mceliece8192128, CMCECipherSpi.Mceliece8192128F, CMCECipherSpi.Mceliece8192128Pc, CMCECipherSpi.Mceliece8192128Pcf
Deprecated.
Now believed unsafe to use - will be removed in a future release.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionCMCECipherSpi(String algorithmName) Deprecated.CMCECipherSpi(CMCEParameters cmceParameters) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]engineDoFinal(byte[] bytes, int i, int i1) Deprecated.protected intengineDoFinal(byte[] bytes, int i, int i1, byte[] bytes1, int i2) Deprecated.protected intDeprecated.protected byte[]Deprecated.protected intengineGetKeySize(Key key) Deprecated.protected intengineGetOutputSize(int i) Deprecated.protected AlgorithmParametersDeprecated.protected voidengineInit(int opmode, Key key, AlgorithmParameters algorithmParameters, SecureRandom random) Deprecated.protected voidengineInit(int opmode, Key key, SecureRandom random) Deprecated.protected voidengineInit(int opmode, Key key, AlgorithmParameterSpec paramSpec, SecureRandom random) Deprecated.protected voidengineSetMode(String mode) Deprecated.protected voidengineSetPadding(String padding) Deprecated.protected KeyengineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) Deprecated.protected byte[]engineUpdate(byte[] bytes, int i, int i1) Deprecated.protected intengineUpdate(byte[] bytes, int i, int i1, byte[] bytes1, int i2) Deprecated.protected byte[]engineWrap(Key key) Deprecated.Methods inherited from class CipherSpi
engineDoFinal, engineUpdate, engineUpdateAAD, engineUpdateAAD
-
Constructor Details
-
CMCECipherSpi
Deprecated. -
CMCECipherSpi
Deprecated.
-
-
Method Details
-
engineSetMode
Deprecated.- Specified by:
engineSetModein classCipherSpi- Throws:
NoSuchAlgorithmException
-
engineSetPadding
Deprecated.- Specified by:
engineSetPaddingin classCipherSpi- Throws:
NoSuchPaddingException
-
engineGetKeySize
-
engineGetBlockSize
-
engineGetOutputSize
protected int engineGetOutputSize(int i) Deprecated.- Specified by:
engineGetOutputSizein classCipherSpi
-
engineGetIV
-
engineGetParameters
Deprecated.- Specified by:
engineGetParametersin classCipherSpi
-
engineInit
Deprecated.- Specified by:
engineInitin classCipherSpi- Throws:
InvalidKeyException
-
engineInit
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec paramSpec, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException Deprecated.- Specified by:
engineInitin classCipherSpi- Throws:
InvalidKeyExceptionInvalidAlgorithmParameterException
-
engineInit
protected void engineInit(int opmode, Key key, AlgorithmParameters algorithmParameters, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException Deprecated.- Specified by:
engineInitin classCipherSpi- Throws:
InvalidKeyExceptionInvalidAlgorithmParameterException
-
engineUpdate
protected byte[] engineUpdate(byte[] bytes, int i, int i1) Deprecated.- Specified by:
engineUpdatein classCipherSpi
-
engineUpdate
protected int engineUpdate(byte[] bytes, int i, int i1, byte[] bytes1, int i2) throws ShortBufferException Deprecated.- Specified by:
engineUpdatein classCipherSpi- Throws:
ShortBufferException
-
engineDoFinal
protected byte[] engineDoFinal(byte[] bytes, int i, int i1) throws IllegalBlockSizeException, BadPaddingException Deprecated.- Specified by:
engineDoFinalin classCipherSpi- Throws:
IllegalBlockSizeExceptionBadPaddingException
-
engineDoFinal
protected int engineDoFinal(byte[] bytes, int i, int i1, byte[] bytes1, int i2) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException Deprecated.- Specified by:
engineDoFinalin classCipherSpi- Throws:
ShortBufferExceptionIllegalBlockSizeExceptionBadPaddingException
-
engineWrap
Deprecated.- Overrides:
engineWrapin classCipherSpi- Throws:
IllegalBlockSizeExceptionInvalidKeyException
-
engineUnwrap
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException Deprecated.- Overrides:
engineUnwrapin classCipherSpi- Throws:
InvalidKeyExceptionNoSuchAlgorithmException
-