Modifier and Type | Class and Description |
---|---|
protected static class |
BaseCipherSpi.ErasableOutputStream |
Modifier and Type | Field and Description |
---|---|
protected AlgorithmParameters |
engineParams |
protected Wrapper |
wrapEngine |
Modifier | Constructor and Description |
---|---|
protected |
BaseCipherSpi() |
Modifier and Type | Method and Description |
---|---|
protected AlgorithmParameters |
createParametersInstance(String algorithm) |
protected int |
engineGetBlockSize() |
protected byte[] |
engineGetIV() |
protected int |
engineGetKeySize(Key key) |
protected int |
engineGetOutputSize(int inputLen) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineSetMode(String mode) |
protected void |
engineSetPadding(String padding) |
protected Key |
engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType) |
protected byte[] |
engineWrap(Key key) |
engineDoFinal, engineDoFinal, engineDoFinal, engineInit, engineInit, engineInit, engineUpdate, engineUpdate, engineUpdate, engineUpdateAAD, engineUpdateAAD
protected AlgorithmParameters engineParams
protected Wrapper wrapEngine
protected int engineGetBlockSize()
engineGetBlockSize
in class CipherSpi
protected byte[] engineGetIV()
engineGetIV
in class CipherSpi
protected int engineGetKeySize(Key key)
engineGetKeySize
in class CipherSpi
protected int engineGetOutputSize(int inputLen)
engineGetOutputSize
in class CipherSpi
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class CipherSpi
protected final AlgorithmParameters createParametersInstance(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
protected void engineSetMode(String mode) throws NoSuchAlgorithmException
engineSetMode
in class CipherSpi
NoSuchAlgorithmException
protected void engineSetPadding(String padding) throws NoSuchPaddingException
engineSetPadding
in class CipherSpi
NoSuchPaddingException
protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException
engineWrap
in class CipherSpi
IllegalBlockSizeException
InvalidKeyException
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException
engineUnwrap
in class CipherSpi
InvalidKeyException
Copyright © 2021 BouncyCastle.org. All rights reserved.