ASN1Encodable
, Encodable
public class OtherInfo extends ASN1Object
OtherInfo ::= SEQUENCE { keyInfo KeySpecificInfo, partyAInfo [0] OCTET STRING OPTIONAL, suppPubInfo [2] OCTET STRING }
Constructor | Description |
---|---|
OtherInfo(KeySpecificInfo keyInfo,
ASN1OctetString partyAInfo,
ASN1OctetString suppPubInfo) |
Modifier and Type | Method | Description |
---|---|---|
static OtherInfo |
getInstance(java.lang.Object obj) |
Return a OtherInfo object from the passed in object.
|
KeySpecificInfo |
getKeyInfo() |
Return the key specific info for the KEK/CEK.
|
ASN1OctetString |
getPartyAInfo() |
PartyA info for key deriviation.
|
ASN1OctetString |
getSuppPubInfo() |
The length of the KEK to be generated as a 4 byte big endian.
|
ASN1Primitive |
toASN1Primitive() |
Return an ASN.1 primitive representation of this object.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public OtherInfo(KeySpecificInfo keyInfo, ASN1OctetString partyAInfo, ASN1OctetString suppPubInfo)
public static OtherInfo getInstance(java.lang.Object obj)
obj
- an object for conversion or a byte[].public KeySpecificInfo getKeyInfo()
public ASN1OctetString getPartyAInfo()
public ASN1OctetString getSuppPubInfo()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object