java.lang.Object
cryptix.jce.provider.elgamal.ElGamalPublicKeyCryptix
- All Implemented Interfaces:
- cryptix.jce.ElGamalKey, cryptix.jce.ElGamalPublicKey, java.security.Key, java.security.PublicKey, java.io.Serializable
- final class ElGamalPublicKeyCryptix
- extends java.lang.Object
- implements cryptix.jce.ElGamalPublicKey
- Version:
- $Revision: 1.3 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
y
private final java.math.BigInteger y
params
private final cryptix.jce.ElGamalParams params
ElGamalPublicKeyCryptix
ElGamalPublicKeyCryptix(java.math.BigInteger y,
cryptix.jce.ElGamalParams params)
getY
public java.math.BigInteger getY()
- Specified by:
getY
in interface cryptix.jce.ElGamalPublicKey
getParams
public cryptix.jce.ElGamalParams getParams()
- Specified by:
getParams
in interface cryptix.jce.ElGamalKey
getAlgorithm
public java.lang.String getAlgorithm()
- Description copied from interface:
java.security.Key
- This method returns the name of the algorithm for this key. This is a
String
such as "RSA".
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Description copied from interface:
java.security.Key
- This method returns the name of the encoding format for this key. This
is the name of the ASN.1 data format used for this key, such as
"X.509" or "PKCS#8". This method returns
null
if this key
does not have an encoding format.
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Description copied from interface:
java.security.Key
- This method returns the encoded form of the key. If this key does not
support encoding, this method returns
null
.
- Specified by:
getEncoded
in interface java.security.Key