Class IEKeySpec

    • Constructor Detail

      • IEKeySpec

        public IEKeySpec​(PrivateKey privKey,
                         PublicKey pubKey)
        Parameters:
        privKey - our private key.
        pubKey - the public key of the sender/recipient.
    • Method Detail

      • getPublic

        public PublicKey getPublic()
        return the intended recipient's/sender's public key.
        Specified by:
        getPublic in interface IESKey
      • getFormat

        public String getFormat()
        return null
        Specified by:
        getFormat in interface Key
      • getEncoded

        public byte[] getEncoded()
        returns null
        Specified by:
        getEncoded in interface Key