|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x9.KeySpecificInfo
ASN.1 def for Diffie-Hellman key exchange KeySpecificInfo structure. See RFC 2631, or X9.42, for further details. KeySpecificInfo ::= SEQUENCE { algorithm OBJECT IDENTIFIER, counter OCTET STRING SIZE (4..4) }
Constructor Summary | |
KeySpecificInfo(ASN1ObjectIdentifier algorithm,
ASN1OctetString counter)
Base constructor. |
Method Summary | |
ASN1ObjectIdentifier |
getAlgorithm()
The object identifier for the CEK wrapping algorithm. |
ASN1OctetString |
getCounter()
The initial counter value for key derivation. |
static KeySpecificInfo |
getInstance(java.lang.Object obj)
Return a KeySpecificInfo object from the passed in object. |
ASN1Primitive |
toASN1Primitive()
Return an ASN.1 primitive representation of this object. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeySpecificInfo(ASN1ObjectIdentifier algorithm, ASN1OctetString counter)
algorithm
- algorithm identifier for the CEK.counter
- initial counter value for key derivation.Method Detail |
public static KeySpecificInfo getInstance(java.lang.Object obj)
obj
- an object for conversion or a byte[].
public ASN1ObjectIdentifier getAlgorithm()
public ASN1OctetString getCounter()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |