Bouncy Castle Cryptography Library 1.81

org.bouncycastle.jcajce.provider.asymmetric.elgamal
Class BCElGamalPublicKey

java.lang.Object
  extended byorg.bouncycastle.jcajce.provider.asymmetric.elgamal.BCElGamalPublicKey
All Implemented Interfaces:
javax.crypto.interfaces.DHKey, javax.crypto.interfaces.DHPublicKey, ElGamalKey, ElGamalPublicKey, java.security.Key, java.security.PublicKey, java.io.Serializable

public class BCElGamalPublicKey
extends java.lang.Object
implements ElGamalPublicKey, javax.crypto.interfaces.DHPublicKey

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 ElGamalParameterSpec getParameters()
           
 javax.crypto.spec.DHParameterSpec getParams()
           
 java.math.BigInteger getY()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

getEncoded

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

getParameters

public ElGamalParameterSpec getParameters()
Specified by:
getParameters in interface ElGamalKey

getParams

public javax.crypto.spec.DHParameterSpec getParams()
Specified by:
getParams in interface javax.crypto.interfaces.DHKey

getY

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

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

Bouncy Castle Cryptography Library 1.81