Package org.gudy.bouncycastle.asn1.x9
Class OtherInfo
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.x9.OtherInfo
-
- All Implemented Interfaces:
DEREncodable
public class OtherInfo extends java.lang.Object implements DEREncodable
ANS.1 def for Diffie-Hellman key exchange OtherInfo structure. See RFC 2631, or X9.42, for further details.
-
-
Field Summary
Fields Modifier and Type Field Description private KeySpecificInfo
keyInfo
private ASN1OctetString
partyAInfo
private ASN1OctetString
suppPubInfo
-
Constructor Summary
Constructors Constructor Description OtherInfo(ASN1Sequence seq)
OtherInfo(KeySpecificInfo keyInfo, ASN1OctetString partyAInfo, ASN1OctetString suppPubInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DERObject
getDERObject()
Produce an object suitable for an ASN1OutputStream.KeySpecificInfo
getKeyInfo()
ASN1OctetString
getPartyAInfo()
ASN1OctetString
getSuppPubInfo()
-
-
-
Field Detail
-
keyInfo
private KeySpecificInfo keyInfo
-
partyAInfo
private ASN1OctetString partyAInfo
-
suppPubInfo
private ASN1OctetString suppPubInfo
-
-
Constructor Detail
-
OtherInfo
public OtherInfo(KeySpecificInfo keyInfo, ASN1OctetString partyAInfo, ASN1OctetString suppPubInfo)
-
OtherInfo
public OtherInfo(ASN1Sequence seq)
-
-
Method Detail
-
getKeyInfo
public KeySpecificInfo getKeyInfo()
-
getPartyAInfo
public ASN1OctetString getPartyAInfo()
-
getSuppPubInfo
public ASN1OctetString getSuppPubInfo()
-
getDERObject
public DERObject getDERObject()
Produce an object suitable for an ASN1OutputStream.OtherInfo ::= SEQUENCE { keyInfo KeySpecificInfo, partyAInfo [0] OCTET STRING OPTIONAL, suppPubInfo [2] OCTET STRING }
- Specified by:
getDERObject
in interfaceDEREncodable
-
-