public class GOST28147Parameters extends ASN1Object
Constructor and Description |
---|
GOST28147Parameters(byte[] iv,
ASN1ObjectIdentifier paramSet) |
Modifier and Type | Method and Description |
---|---|
ASN1ObjectIdentifier |
getEncryptionParamSet()
Return the OID representing the sBox to use.
|
static GOST28147Parameters |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static GOST28147Parameters |
getInstance(java.lang.Object obj) |
byte[] |
getIV()
Return the initialisation vector to use.
|
ASN1Primitive |
toASN1Primitive()
Gost28147-89-Parameters ::=
SEQUENCE {
iv Gost28147-89-IV,
encryptionParamSet OBJECT IDENTIFIER
}
Gost28147-89-IV ::= OCTET STRING (SIZE (8))
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public GOST28147Parameters(byte[] iv, ASN1ObjectIdentifier paramSet)
public static GOST28147Parameters getInstance(ASN1TaggedObject obj, boolean explicit)
public static GOST28147Parameters getInstance(java.lang.Object obj)
public ASN1Primitive toASN1Primitive()
Gost28147-89-Parameters ::= SEQUENCE { iv Gost28147-89-IV, encryptionParamSet OBJECT IDENTIFIER } Gost28147-89-IV ::= OCTET STRING (SIZE (8))
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public ASN1ObjectIdentifier getEncryptionParamSet()
public byte[] getIV()