Top Fields Constructors Methods
org.bouncycastle.crypto.engines

public Class GOST28147WrapEngine

extends Object
implements Wrapper
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.Wrapper
Known Direct Subclasses
org.bouncycastle.crypto.engines.CryptoProWrapEngine
Imports
org.bouncycastle.crypto.CipherParameters, .InvalidCipherTextException, .Wrapper, org.bouncycastle.crypto.macs.GOST28147Mac, org.bouncycastle.crypto.params.ParametersWithIV, .ParametersWithRandom, .ParametersWithUKM, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private GOST28147Engine
private GOST28147Mac

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getAlgorithmName()

Implements org.bouncycastle.crypto.Wrapper.getAlgorithmName.

Return the name of the algorithm the wrapper implements.

public void
init(boolean forWrapping, CipherParameters param)

Implements org.bouncycastle.crypto.Wrapper.init.

public byte[]
unwrap(byte[] input, int inOff, int inLen)

Implements org.bouncycastle.crypto.Wrapper.unwrap.

public byte[]
wrap(byte[] input, int inOff, int inLen)

Implements org.bouncycastle.crypto.Wrapper.wrap.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cipherback to summary
private GOST28147Engine cipher
macback to summary
private GOST28147Mac mac

Constructor Detail

GOST28147WrapEngineback to summary
public GOST28147WrapEngine()

Method Detail

getAlgorithmNameback to summary
public String getAlgorithmName()

Implements org.bouncycastle.crypto.Wrapper.getAlgorithmName.

Doc from org.bouncycastle.crypto.Wrapper.getAlgorithmName.

Return the name of the algorithm the wrapper implements.

Returns:String

the name of the algorithm the wrapper implements.

initback to summary
public void init(boolean forWrapping, CipherParameters param)

Implements org.bouncycastle.crypto.Wrapper.init.

unwrapback to summary
public byte[] unwrap(byte[] input, int inOff, int inLen) throws InvalidCipherTextException

Implements org.bouncycastle.crypto.Wrapper.unwrap.

wrapback to summary
public byte[] wrap(byte[] input, int inOff, int inLen)

Implements org.bouncycastle.crypto.Wrapper.wrap.