public class Gost2814789EncryptedKey extends ASN1Object
Gost28147-89-EncryptedKey ::= SEQUENCE { encryptedKey Gost28147-89-Key, maskKey [0] IMPLICIT Gost28147-89-Key OPTIONAL, macKey Gost28147-89-MAC }
Constructor and Description |
---|
Gost2814789EncryptedKey(byte[] encryptedKey,
byte[] macKey) |
Gost2814789EncryptedKey(byte[] encryptedKey,
byte[] maskKey,
byte[] macKey) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedKey() |
static Gost2814789EncryptedKey |
getInstance(java.lang.Object obj) |
byte[] |
getMacKey() |
byte[] |
getMaskKey() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public Gost2814789EncryptedKey(byte[] encryptedKey, byte[] macKey)
public Gost2814789EncryptedKey(byte[] encryptedKey, byte[] maskKey, byte[] macKey)
public static Gost2814789EncryptedKey getInstance(java.lang.Object obj)
public byte[] getEncryptedKey()
public byte[] getMaskKey()
public byte[] getMacKey()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object