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.CipherSpi
protected byte[] engineGetIV()
engineGetIV
in class javax.crypto.CipherSpi
protected int engineGetKeySize(java.security.Key key)
engineGetKeySize
in class javax.crypto.CipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class javax.crypto.CipherSpi
protected java.security.AlgorithmParameters engineGetParameters()
engineGetParameters
in class javax.crypto.CipherSpi
protected final java.security.AlgorithmParameters createParametersInstance(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
protected void engineSetMode(java.lang.String mode) throws java.security.NoSuchAlgorithmException
engineSetMode
in class javax.crypto.CipherSpi
java.security.NoSuchAlgorithmException
protected void engineSetPadding(java.lang.String padding) throws javax.crypto.NoSuchPaddingException
engineSetPadding
in class javax.crypto.CipherSpi
javax.crypto.NoSuchPaddingException
protected byte[] engineWrap(java.security.Key key) throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
engineWrap
in class javax.crypto.CipherSpi
javax.crypto.IllegalBlockSizeException
java.security.InvalidKeyException
protected java.security.Key engineUnwrap(byte[] wrappedKey, java.lang.String wrappedKeyAlgorithm, int wrappedKeyType) throws java.security.InvalidKeyException
engineUnwrap
in class javax.crypto.CipherSpi
java.security.InvalidKeyException