|
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.DHPublicKey
X9.42 definition of a DHPublicKey DHPublicKey ::= INTEGER
Constructor Summary | |
DHPublicKey(java.math.BigInteger y)
Base constructor. |
Method Summary | |
static DHPublicKey |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Return a DHPublicKey from the passed in tagged object. |
static DHPublicKey |
getInstance(java.lang.Object obj)
Return a DHPublicKey from the passed in object. |
java.math.BigInteger |
getY()
Return the public value Y for the key. |
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 DHPublicKey(java.math.BigInteger y)
y
- the public value Y.Method Detail |
public static DHPublicKey getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- a tagged object.explicit
- true if the contents of the object is explictly tagged, false otherwise.
public static DHPublicKey getInstance(java.lang.Object obj)
obj
- an object for conversion or a byte[].
public java.math.BigInteger getY()
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 |