public class

OtherInfo

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.x9.OtherInfo

Class Overview

ANS.1 def for Diffie-Hellman key exchange OtherInfo structure. See RFC 2631, or X9.42, for further details.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
OtherInfo(KeySpecificInfo keyInfo, ASN1OctetString partyAInfo, ASN1OctetString suppPubInfo)
OtherInfo(ASN1Sequence seq)
Public Methods
KeySpecificInfo getKeyInfo()
ASN1OctetString getPartyAInfo()
ASN1OctetString getSuppPubInfo()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

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

public OtherInfo (ASN1Sequence seq)

Public Methods

public KeySpecificInfo getKeyInfo ()

public ASN1OctetString getPartyAInfo ()

public ASN1OctetString getSuppPubInfo ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

  OtherInfo ::= SEQUENCE {
      keyInfo KeySpecificInfo,
      partyAInfo [0] OCTET STRING OPTIONAL,
      suppPubInfo [2] OCTET STRING
  }