COM.claymoresystems.crypto
Class DHPublicKey
java.lang.Object
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
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_)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHPublicKey
public DHPublicKey(java.math.BigInteger g_,
java.math.BigInteger p_,
java.math.BigInteger Y_)
DHPublicKey
public DHPublicKey(java.math.BigInteger Y_)
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.