Package org.bouncycastle.jcajce.spec
Class GOST28147ParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.GOST28147ParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
A parameter spec for the GOST-28147 cipher.
-
Constructor Summary
ConstructorsConstructorDescriptionGOST28147ParameterSpec
(byte[] sBox) GOST28147ParameterSpec
(byte[] sBox, byte[] iv) GOST28147ParameterSpec
(String sBoxName) GOST28147ParameterSpec
(String sBoxName, byte[] iv) GOST28147ParameterSpec
(ASN1ObjectIdentifier sBoxOID, byte[] iv) -
Method Summary
-
Constructor Details
-
GOST28147ParameterSpec
public GOST28147ParameterSpec(byte[] sBox) -
GOST28147ParameterSpec
public GOST28147ParameterSpec(byte[] sBox, byte[] iv) -
GOST28147ParameterSpec
-
GOST28147ParameterSpec
-
GOST28147ParameterSpec
-
-
Method Details
-
getSBox
public byte[] getSBox() -
getIV
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.
-