com.mindbright.security.publickey
Class DHPublicKey

java.lang.Object
  extended bycom.mindbright.jce.crypto.spec.DHParamsImpl
      extended bycom.mindbright.jce.crypto.spec.DHParameterSpec
          extended bycom.mindbright.security.publickey.DHKey
              extended bycom.mindbright.security.publickey.DHPublicKey
All Implemented Interfaces:
AlgorithmParameterSpec, DHKey, DHPublicKey, Key, PublicKey, java.io.Serializable

public class DHPublicKey
extends DHKey
implements DHPublicKey

See Also:
Serialized Form

Field Summary
protected  java.math.BigInteger y
           
 
Fields inherited from class com.mindbright.jce.crypto.spec.DHParameterSpec
l
 
Fields inherited from class com.mindbright.jce.crypto.spec.DHParamsImpl
g, p
 
Constructor Summary
DHPublicKey(java.math.BigInteger y, java.math.BigInteger p, java.math.BigInteger g)
           
 
Method Summary
 java.math.BigInteger getY()
           
 
Methods inherited from class com.mindbright.security.publickey.DHKey
getAlgorithm, getEncoded, getFormat, getParams
 
Methods inherited from class com.mindbright.jce.crypto.spec.DHParameterSpec
getL
 
Methods inherited from class com.mindbright.jce.crypto.spec.DHParamsImpl
getG, getP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mindbright.jce.crypto.interfaces.DHKey
getParams
 
Methods inherited from interface com.mindbright.jca.security.Key
getAlgorithm, getEncoded, getFormat
 

Field Detail

y

protected java.math.BigInteger y
Constructor Detail

DHPublicKey

public DHPublicKey(java.math.BigInteger y,
                   java.math.BigInteger p,
                   java.math.BigInteger g)
Method Detail

getY

public java.math.BigInteger getY()
Specified by:
getY in interface DHPublicKey