public class

GOST28147ParameterSpec

extends Object
implements AlgorithmParameterSpec
java.lang.Object
   ↳ org.bouncycastle.jce.spec.GOST28147ParameterSpec

Class Overview

A parameter spec for the GOST-28147 cipher.

Summary

Public Constructors
GOST28147ParameterSpec(byte[] sBox)
GOST28147ParameterSpec(byte[] sBox, byte[] iv)
GOST28147ParameterSpec(String sBoxName)
GOST28147ParameterSpec(String sBoxName, byte[] iv)
Public Methods
byte[] getIV()
Returns the IV or null if this parameter set does not contain an IV.
byte[] getSbox()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GOST28147ParameterSpec (byte[] sBox)

public GOST28147ParameterSpec (byte[] sBox, byte[] iv)

public GOST28147ParameterSpec (String sBoxName)

public GOST28147ParameterSpec (String sBoxName, byte[] iv)

Public Methods

public byte[] getIV ()

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

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

public byte[] getSbox ()