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
Known Direct Subclasses
org.bouncycastle.jce.spec.GOST28147ParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec, java.util.HashMap, .Map, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers, org.bouncycastle.crypto.engines.GOST28147Engine, org.bouncycastle.internal.asn1.rosstandart.RosstandartObjectIdentifiers, org.bouncycastle.util.Arrays

A parameter spec for the GOST-28147 cipher.

Field Summary

Modifier and TypeField and Description
private byte[]
private static Map<K, V>
private 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.

private static String
public byte[]
getSbox()
Deprecated use getSBox()

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

Field Detail

ivback to summary
private byte[] iv
oidMappingsback to summary
private static Map<K, V> oidMappings
sBoxback to summary
private 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 sBoxName, 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.

getNameback to summary
private static String getName(ASN1ObjectIdentifier sBoxOid)
getSboxback to summary
public byte[] getSbox()

Deprecated

use getSBox()

getSBoxback to summary
public byte[] getSBox()