Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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(ASN1Sequence seq)`
`OtherInfo(KeySpecificInfo keyInfo, ASN1OctetString partyAInfo, ASN1OctetString suppPubInfo)`

Method Summary
`DERObject` | `getDERObject()` OtherInfo ::= SEQUENCE { keyInfo KeySpecificInfo, partyAInfo [0] OCTET STRING OPTIONAL, suppPubInfo [2] OCTET STRING }
`KeySpecificInfo` | `getKeyInfo()`
`ASN1OctetString` | `getPartyAInfo()`
`ASN1OctetString` | `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,
                     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()

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

  Specified by:
    `getDERObject` in interface `DEREncodable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD