COM.claymoresystems.crypto
Class DHPublicKey

java.lang.Object
  extended by COM.claymoresystems.crypto.DHPublicKey
All Implemented Interfaces:
java.io.Serializable, java.security.Key, java.security.PublicKey

public class DHPublicKey
extends java.lang.Object
implements java.security.PublicKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Constructor Summary
DHPublicKey(java.math.BigInteger Y_)
           
DHPublicKey(java.math.BigInteger g_, java.math.BigInteger p_, java.math.BigInteger Y_)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.math.BigInteger getg()
           
 java.math.BigInteger getp()
           
 java.math.BigInteger getY()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHPublicKey

public DHPublicKey(java.math.BigInteger g_,
                   java.math.BigInteger p_,
                   java.math.BigInteger Y_)

DHPublicKey

public DHPublicKey(java.math.BigInteger Y_)
Method Detail

getY

public java.math.BigInteger getY()

getg

public java.math.BigInteger getg()

getp

public java.math.BigInteger getp()

getEncoded

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

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.