Package org.bouncycastle.jce.provider
Class JCEElGamalPublicKey
- java.lang.Object
-
- org.bouncycastle.jce.provider.JCEElGamalPublicKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,java.security.PublicKey
,javax.crypto.interfaces.DHKey
,javax.crypto.interfaces.DHPublicKey
,ElGamalKey
,ElGamalPublicKey
public class JCEElGamalPublicKey extends java.lang.Object implements ElGamalPublicKey, javax.crypto.interfaces.DHPublicKey
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
byte[]
getEncoded()
java.lang.String
getFormat()
ElGamalParameterSpec
getParameters()
javax.crypto.spec.DHParameterSpec
getParams()
java.math.BigInteger
getY()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
getParameters
public ElGamalParameterSpec getParameters()
- Specified by:
getParameters
in interfaceElGamalKey
-
getParams
public javax.crypto.spec.DHParameterSpec getParams()
- Specified by:
getParams
in interfacejavax.crypto.interfaces.DHKey
-
getY
public java.math.BigInteger getY()
- Specified by:
getY
in interfacejavax.crypto.interfaces.DHPublicKey
- Specified by:
getY
in interfaceElGamalPublicKey
-
-