Class JceX448Domain

  • All Implemented Interfaces:
    TlsECDomain

    public class JceX448Domain
    extends java.lang.Object
    implements TlsECDomain
    • Constructor Detail

      • JceX448Domain

        public JceX448Domain​(JcaTlsCrypto crypto)
    • Method Detail

      • calculateECDHAgreement

        public JceTlsSecret calculateECDHAgreement​(java.security.PrivateKey privateKey,
                                                   java.security.PublicKey publicKey)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • createECDH

        public TlsAgreement createECDH()
        Description copied from interface: TlsECDomain
        Return an agreement operator suitable for ephemeral EC Diffie-Hellman.
        Specified by:
        createECDH in interface TlsECDomain
        Returns:
        a key agreement operator.
      • decodePublicKey

        public java.security.PublicKey decodePublicKey​(byte[] encoding)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • encodePublicKey

        public byte[] encodePublicKey​(java.security.PublicKey publicKey)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • generateKeyPair

        public java.security.KeyPair generateKeyPair()