Interface TlsCredentialedAgreement

    • Method Detail

      • generateAgreement

        TlsSecret generateAgreement​(TlsCertificate peerCertificate)
                             throws java.io.IOException
        Calculate an agreed secret based on our credentials and the public key credentials of our peer.
        Parameters:
        peerCertificate - public key certificate of our TLS peer.
        Returns:
        the agreed secret.
        Throws:
        java.io.IOException - in case of an exception on generation of the secret.