Package org.bouncycastle.crypto.engines
Class DSTU7624WrapEngine
- java.lang.Object
-
- org.bouncycastle.crypto.engines.DSTU7624WrapEngine
-
-
Constructor Summary
Constructors Constructor Description DSTU7624WrapEngine(int blockBitLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithmName()
Return the name of the algorithm the wrapper implements.void
init(boolean forWrapping, CipherParameters param)
byte[]
unwrap(byte[] in, int inOff, int inLen)
byte[]
wrap(byte[] in, int inOff, int inLen)
-
-
-
Method Detail
-
init
public void init(boolean forWrapping, CipherParameters param)
-
getAlgorithmName
public java.lang.String getAlgorithmName()
Description copied from interface:Wrapper
Return the name of the algorithm the wrapper implements.- Specified by:
getAlgorithmName
in interfaceWrapper
- Returns:
- the name of the algorithm the wrapper implements.
-
unwrap
public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidCipherTextException
- Specified by:
unwrap
in interfaceWrapper
- Throws:
InvalidCipherTextException
-
-