public class

KeySpecificInfo

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

Class Overview

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

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
KeySpecificInfo(DERObjectIdentifier algorithm, ASN1OctetString counter)
KeySpecificInfo(ASN1Sequence seq)
Public Methods
DERObjectIdentifier getAlgorithm()
ASN1OctetString getCounter()
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 KeySpecificInfo (DERObjectIdentifier algorithm, ASN1OctetString counter)

public KeySpecificInfo (ASN1Sequence seq)

Public Methods

public DERObjectIdentifier getAlgorithm ()

public ASN1OctetString getCounter ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

  KeySpecificInfo ::= SEQUENCE {
      algorithm OBJECT IDENTIFIER,
      counter OCTET STRING SIZE (4..4)
  }