ASN1Encodable
, Encodable
public class SecretKeyData extends ASN1Object
SecretKeyData ::= SEQUENCE { keyAlgorithm OBJECT IDENTIFIER, keyBytes OCTET STRING }
Constructor | Description |
---|---|
SecretKeyData(ASN1ObjectIdentifier keyAlgorithm,
byte[] keyBytes) |
Modifier and Type | Method | Description |
---|---|---|
static SecretKeyData |
getInstance(java.lang.Object o) |
|
ASN1ObjectIdentifier |
getKeyAlgorithm() |
|
byte[] |
getKeyBytes() |
|
ASN1Primitive |
toASN1Primitive() |
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public SecretKeyData(ASN1ObjectIdentifier keyAlgorithm, byte[] keyBytes)
public static SecretKeyData getInstance(java.lang.Object o)
public byte[] getKeyBytes()
public ASN1ObjectIdentifier getKeyAlgorithm()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object