Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class GOST28147ParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.crypto.general.GOST28147, org.bouncycastle.util.Arrays

A parameter spec for the GOST-28147 cipher.

Field Summary

Modifier and TypeField and Description
private final byte[]
private final byte[]

Constructor Summary

AccessConstructor and Description
public
public
GOST28147ParameterSpec(byte[] sBox, byte[] iv)

public
public
GOST28147ParameterSpec(String sBoxName, byte[] iv)

public

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the IV or null if this parameter set does not contain an IV.
getIV
()

Returns the IV or null if this parameter set does not contain an IV.

public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ivback to summary
private final byte[] iv
sBoxback to summary
private final byte[] sBox

Constructor Detail

GOST28147ParameterSpecback to summary
public GOST28147ParameterSpec(byte[] sBox)
GOST28147ParameterSpecback to summary
public GOST28147ParameterSpec(byte[] sBox, byte[] iv)
GOST28147ParameterSpecback to summary
public GOST28147ParameterSpec(String sBoxName)
GOST28147ParameterSpecback to summary
public GOST28147ParameterSpec(String sBoxName, byte[] iv)
GOST28147ParameterSpecback to summary
public GOST28147ParameterSpec(ASN1ObjectIdentifier sBoxOID, byte[] iv)

Method Detail

getIVback to summary
public byte[] getIV()

Returns the IV or null if this parameter set does not contain an IV.

Returns:byte[]

the IV or null if this parameter set does not contain an IV.

getSBoxback to summary
public byte[] getSBox()