ASN1Encodable
, Encodable
public class GOST28147Parameters extends ASN1Object
Constructor | Description |
---|---|
GOST28147Parameters(byte[] iv,
ASN1ObjectIdentifier paramSet) |
|
GOST28147Parameters(ASN1Sequence seq) |
Deprecated.
use the getInstance() method.
|
Modifier and Type | Method | Description |
---|---|---|
ASN1ObjectIdentifier |
getEncryptionParamSet() |
Return the OID representing the sBox to use.
|
static GOST28147Parameters |
getInstance(java.lang.Object obj) |
|
static GOST28147Parameters |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
|
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, toASN1Object
public GOST28147Parameters(byte[] iv, ASN1ObjectIdentifier paramSet)
public GOST28147Parameters(ASN1Sequence seq)
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()