@Deprecated
public class CMCECipherSpi
extends javax.crypto.CipherSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
CMCECipherSpi.Base
Deprecated.
|
static class |
CMCECipherSpi.Mceliece460896
Deprecated.
|
static class |
CMCECipherSpi.Mceliece460896F
Deprecated.
|
static class |
CMCECipherSpi.Mceliece460896Pc
Deprecated.
|
static class |
CMCECipherSpi.Mceliece460896Pcf
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6688128
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6688128F
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6688128Pc
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6688128Pcf
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6960119
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6960119F
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6960119Pc
Deprecated.
|
static class |
CMCECipherSpi.Mceliece6960119Pcf
Deprecated.
|
static class |
CMCECipherSpi.Mceliece8192128
Deprecated.
|
static class |
CMCECipherSpi.Mceliece8192128F
Deprecated.
|
static class |
CMCECipherSpi.Mceliece8192128Pc
Deprecated.
|
static class |
CMCECipherSpi.Mceliece8192128Pcf
Deprecated.
|
| Constructor and Description |
|---|
CMCECipherSpi(CMCEParameters cmceParameters)
Deprecated.
|
CMCECipherSpi(java.lang.String algorithmName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineDoFinal(byte[] bytes,
int i,
int i1)
Deprecated.
|
protected int |
engineDoFinal(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2)
Deprecated.
|
protected int |
engineGetBlockSize()
Deprecated.
|
protected byte[] |
engineGetIV()
Deprecated.
|
protected int |
engineGetKeySize(java.security.Key key)
Deprecated.
|
protected int |
engineGetOutputSize(int i)
Deprecated.
|
protected java.security.AlgorithmParameters |
engineGetParameters()
Deprecated.
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec paramSpec,
java.security.SecureRandom random)
Deprecated.
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.AlgorithmParameters algorithmParameters,
java.security.SecureRandom random)
Deprecated.
|
protected void |
engineInit(int opmode,
java.security.Key key,
java.security.SecureRandom random)
Deprecated.
|
protected void |
engineSetMode(java.lang.String mode)
Deprecated.
|
protected void |
engineSetPadding(java.lang.String padding)
Deprecated.
|
protected java.security.Key |
engineUnwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int wrappedKeyType)
Deprecated.
|
protected byte[] |
engineUpdate(byte[] bytes,
int i,
int i1)
Deprecated.
|
protected int |
engineUpdate(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2)
Deprecated.
|
protected byte[] |
engineWrap(java.security.Key key)
Deprecated.
|
public CMCECipherSpi(java.lang.String algorithmName)
public CMCECipherSpi(CMCEParameters cmceParameters)
protected void engineSetMode(java.lang.String mode)
throws java.security.NoSuchAlgorithmException
engineSetMode in class javax.crypto.CipherSpijava.security.NoSuchAlgorithmExceptionprotected void engineSetPadding(java.lang.String padding)
throws javax.crypto.NoSuchPaddingException
engineSetPadding in class javax.crypto.CipherSpijavax.crypto.NoSuchPaddingExceptionprotected int engineGetKeySize(java.security.Key key)
engineGetKeySize in class javax.crypto.CipherSpiprotected int engineGetBlockSize()
engineGetBlockSize in class javax.crypto.CipherSpiprotected int engineGetOutputSize(int i)
engineGetOutputSize in class javax.crypto.CipherSpiprotected byte[] engineGetIV()
engineGetIV in class javax.crypto.CipherSpiprotected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters in class javax.crypto.CipherSpiprotected void engineInit(int opmode,
java.security.Key key,
java.security.SecureRandom random)
throws java.security.InvalidKeyException
engineInit in class javax.crypto.CipherSpijava.security.InvalidKeyExceptionprotected void engineInit(int opmode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec paramSpec,
java.security.SecureRandom random)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
engineInit in class javax.crypto.CipherSpijava.security.InvalidKeyExceptionjava.security.InvalidAlgorithmParameterExceptionprotected void engineInit(int opmode,
java.security.Key key,
java.security.AlgorithmParameters algorithmParameters,
java.security.SecureRandom random)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
engineInit in class javax.crypto.CipherSpijava.security.InvalidKeyExceptionjava.security.InvalidAlgorithmParameterExceptionprotected byte[] engineUpdate(byte[] bytes,
int i,
int i1)
engineUpdate in class javax.crypto.CipherSpiprotected int engineUpdate(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2)
throws javax.crypto.ShortBufferException
engineUpdate in class javax.crypto.CipherSpijavax.crypto.ShortBufferExceptionprotected byte[] engineDoFinal(byte[] bytes,
int i,
int i1)
throws javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException
engineDoFinal in class javax.crypto.CipherSpijavax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingExceptionprotected int engineDoFinal(byte[] bytes,
int i,
int i1,
byte[] bytes1,
int i2)
throws javax.crypto.ShortBufferException,
javax.crypto.IllegalBlockSizeException,
javax.crypto.BadPaddingException
engineDoFinal in class javax.crypto.CipherSpijavax.crypto.ShortBufferExceptionjavax.crypto.IllegalBlockSizeExceptionjavax.crypto.BadPaddingExceptionprotected byte[] engineWrap(java.security.Key key)
throws javax.crypto.IllegalBlockSizeException,
java.security.InvalidKeyException
engineWrap in class javax.crypto.CipherSpijavax.crypto.IllegalBlockSizeExceptionjava.security.InvalidKeyExceptionprotected java.security.Key engineUnwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int wrappedKeyType)
throws java.security.InvalidKeyException,
java.security.NoSuchAlgorithmException
engineUnwrap in class javax.crypto.CipherSpijava.security.InvalidKeyExceptionjava.security.NoSuchAlgorithmException