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

org.bouncycastle.asn1.x9
Class KeySpecificInfo

java.lang.Object
  |
  +--org.bouncycastle.asn1.x9.KeySpecificInfo
All Implemented Interfaces:
DEREncodable

public class KeySpecificInfo
extends java.lang.Object
implements DEREncodable

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


Constructor Summary
KeySpecificInfo(DERConstructedSequence seq)
           
KeySpecificInfo(DERObjectIdentifier algorithm, DEROctetString counter)
           
 
Method Summary
 DERObjectIdentifier getAlgorithm()
           
 DEROctetString getCounter()
           
 DERObject getDERObject()
           KeySpecificInfo ::= SEQUENCE { algorithm OBJECT IDENTIFIER, counter OCTET STRING SIZE (4..4) }
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeySpecificInfo

public KeySpecificInfo(DERObjectIdentifier algorithm,
                       DEROctetString counter)

KeySpecificInfo

public KeySpecificInfo(DERConstructedSequence seq)
Method Detail

getAlgorithm

public DERObjectIdentifier getAlgorithm()

getCounter

public DEROctetString getCounter()

getDERObject

public DERObject getDERObject()
  KeySpecificInfo ::= SEQUENCE {
      algorithm OBJECT IDENTIFIER,
      counter OCTET STRING SIZE (4..4)
  }
 
Specified by:
getDERObject in interface DEREncodable

Bouncy Castle Cryptography 1.11