Interface Wrapper
- All Known Implementing Classes:
AESWrapEngine, AESWrapPadEngine, ARIAWrapEngine, ARIAWrapPadEngine, CamelliaWrapEngine, CryptoProWrapEngine, DESedeWrapEngine, DSTU7624WrapEngine, GOST28147WrapEngine, RC2WrapEngine, RFC3211WrapEngine, RFC3394WrapEngine, RFC5649WrapEngine, SEEDWrapEngine
public interface Wrapper
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the algorithm the wrapper implements.voidinit(boolean forWrapping, CipherParameters param) byte[]unwrap(byte[] in, int inOff, int inLen) byte[]wrap(byte[] in, int inOff, int inLen)
-
Method Details
-
init
-
getAlgorithmName
String getAlgorithmName()Return the name of the algorithm the wrapper implements.- Returns:
- the name of the algorithm the wrapper implements.
-
wrap
byte[] wrap(byte[] in, int inOff, int inLen) -
unwrap
- Throws:
InvalidCipherTextException
-