| Modifier and Type | Field and Description |
|---|---|
protected java.security.AlgorithmParameters |
engineParams |
protected Wrapper |
wrapEngine |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCipherSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected java.security.AlgorithmParameters |
createParametersInstance(java.lang.String algorithm) |
protected int |
engineGetBlockSize() |
protected byte[] |
engineGetIV() |
protected int |
engineGetKeySize(java.security.Key key) |
protected int |
engineGetOutputSize(int inputLen) |
protected java.security.AlgorithmParameters |
engineGetParameters() |
protected void |
engineSetMode(java.lang.String mode) |
protected void |
engineSetPadding(java.lang.String padding) |
protected java.security.Key |
engineUnwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int wrappedKeyType) |
protected byte[] |
engineWrap(java.security.Key key) |
protected java.security.AlgorithmParameters engineParams
protected Wrapper wrapEngine
protected int engineGetBlockSize()
engineGetBlockSize in class javax.crypto.CipherSpiprotected byte[] engineGetIV()
engineGetIV in class javax.crypto.CipherSpiprotected int engineGetKeySize(java.security.Key key)
engineGetKeySize in class javax.crypto.CipherSpiprotected int engineGetOutputSize(int inputLen)
engineGetOutputSize in class javax.crypto.CipherSpiprotected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters in class javax.crypto.CipherSpiprotected final java.security.AlgorithmParameters createParametersInstance(java.lang.String algorithm)
throws java.security.NoSuchAlgorithmException,
java.security.NoSuchProviderException
java.security.NoSuchAlgorithmExceptionjava.security.NoSuchProviderExceptionprotected 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 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
engineUnwrap in class javax.crypto.CipherSpijava.security.InvalidKeyException