Google

Bouncy Castle Cryptography 1.11 API Specification: Class OtherInfo
Bouncy Castle Cryptography 1.11

org.bouncycastle.asn1.x9
Class OtherInfo

java.lang.Object
  |
  +--org.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.


Constructor Summary
OtherInfo(DERConstructedSequence seq)
           
OtherInfo(KeySpecificInfo keyInfo, DEROctetString partyAInfo, DEROctetString suppPubInfo)
           
 
Method Summary
 DERObject getDERObject()
           OtherInfo ::= SEQUENCE { keyInfo KeySpecificInfo, partyAInfo [0] OCTET STRING OPTIONAL, suppPubInfo [2] OCTET STRING }
 KeySpecificInfo getKeyInfo()
           
 DEROctetString getPartyAInfo()
           
 DEROctetString getSuppPubInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherInfo

public OtherInfo(KeySpecificInfo keyInfo,
                 DEROctetString partyAInfo,
                 DEROctetString suppPubInfo)

OtherInfo

public OtherInfo(DERConstructedSequence seq)
Method Detail

getKeyInfo

public KeySpecificInfo getKeyInfo()

getPartyAInfo

public DEROctetString getPartyAInfo()

getSuppPubInfo

public DEROctetString getSuppPubInfo()

getDERObject

public DERObject getDERObject()
  OtherInfo ::= SEQUENCE {
      keyInfo KeySpecificInfo,
      partyAInfo [0] OCTET STRING OPTIONAL,
      suppPubInfo [2] OCTET STRING
  }
 
Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.11