Class X509CredentialConfig

  • All Implemented Interfaces:
    CredentialConfig

    public class X509CredentialConfig
    extends Object
    implements CredentialConfig
    Provides the properties necessary for creating an SSL context initializer with an X.509 credential reader.
    • Field Detail

      • HASH_CODE_SEED

        private static final int HASH_CODE_SEED
        hash code seed.
        See Also:
        Constant Field Values
      • trustCertificates

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

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

        private String authenticationKey
        Name of the key to use for the SSL connection.
    • Constructor Detail

      • X509CredentialConfig

        public X509CredentialConfig()
    • Method Detail

      • getTrustCertificates

        public String getTrustCertificates()
        Returns the name of the trust certificates to use.
        Returns:
        trust certificates name
      • setTrustCertificates

        public void setTrustCertificates​(String name)
        Sets the name of the trust certificates to use.
        Parameters:
        name - trust certificates name
      • getAuthenticationCertificate

        public String getAuthenticationCertificate()
        Returns the name of the authentication certificate to use.
        Returns:
        authentication certificate name
      • setAuthenticationCertificate

        public void setAuthenticationCertificate​(String name)
        Sets the name of the authentication certificate to use.
        Parameters:
        name - authentication certificate name
      • getAuthenticationKey

        public String getAuthenticationKey()
        Returns the name of the authentication key to use.
        Returns:
        authentication key name
      • setAuthenticationKey

        public void setAuthenticationKey​(String name)
        Sets the name of the authentication key to use.
        Parameters:
        name - authentication key name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object