For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki.provider
Class GnuDHPublicKey

java.lang.Object
  extended by gnu.crypto.pki.provider.GnuDHPublicKey
All Implemented Interfaces:
Serializable, Key, PublicKey, DHKey, DHPublicKey

public class GnuDHPublicKey
extends Object
implements DHPublicKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.crypto.interfaces.DHPublicKey
serialVersionUID
 
Constructor Summary
GnuDHPublicKey(DHParameterSpec params, BigInteger Y, BigInteger q)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 DHParameterSpec getParams()
           
 BigInteger getY()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuDHPublicKey

public GnuDHPublicKey(DHParameterSpec params,
                      BigInteger Y,
                      BigInteger q)
Method Detail

getY

public BigInteger getY()
Specified by:
getY in interface DHPublicKey

getParams

public DHParameterSpec getParams()
Specified by:
getParams in interface DHKey

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface Key

getFormat

public String getFormat()
Specified by:
getFormat in interface Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface Key

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.