Class DESedeWrapEngine
java.lang.Object
org.bouncycastle.crypto.engines.DESedeWrapEngine
- All Implemented Interfaces:
Wrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod getAlgorithmNamevoidinit(boolean forWrapping, CipherParameters param) Method initbyte[]unwrap(byte[] in, int inOff, int inLen) Method unwrapbyte[]wrap(byte[] in, int inOff, int inLen) Method wrap
-
Constructor Details
-
DESedeWrapEngine
public DESedeWrapEngine()
-
-
Method Details
-
init
Method init -
getAlgorithmName
Method getAlgorithmName- Specified by:
getAlgorithmNamein interfaceWrapper- Returns:
- the algorithm name "DESede".
-
wrap
-
unwrap
Method unwrap- Specified by:
unwrapin interfaceWrapper- Parameters:
in- byte array containing the wrapped key.inOff- off set into in that the data starts at.inLen- length of the data.- Returns:
- the unwrapped bytes.
- Throws:
InvalidCipherTextException
-