Class X509ResourceCredentialConfig

    • Field Detail

      • trustCertificates

        private Resource trustCertificates
        Name of the trust certificates to use for the SSL connection.
      • authenticationCertificate

        private Resource authenticationCertificate
        Name of the authentication certificate to use for the SSL connection.
      • authenticationKey

        private Resource authenticationKey
        Name of the key to use for the SSL connection.
      • authenticationKeyPassword

        private String authenticationKeyPassword
        Password to decrypt the authentication key.
    • Constructor Detail

      • X509ResourceCredentialConfig

        public X509ResourceCredentialConfig()
    • Method Detail

      • setTrustCertificates

        public void setTrustCertificates​(@Nonnull @NotEmpty
                                         Resource resource)
        Set the trust certificates resource.
        Parameters:
        resource - the trust certificates resource
      • setAuthenticationCertificate

        public void setAuthenticationCertificate​(@Nonnull @NotEmpty
                                                 Resource resource)
        Set the authentication certificate resource.
        Parameters:
        resource - the authentication certificate resource
      • setAuthenticationKey

        public void setAuthenticationKey​(@Nonnull @NotEmpty
                                         Resource resource)
        Set the authentication key resource.
        Parameters:
        resource - the authentication key resource
      • setAuthenticationKeyPassword

        public void setAuthenticationKeyPassword​(@Nonnull @NotEmpty
                                                 String password)
        Set the authentication key password.
        Parameters:
        password - the authentication key password