Class 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 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
      • 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 javax.crypto.interfaces.DHPublicKey
        Specified by:
        getY in interface ElGamalPublicKey