Class PK11InternalCert

    • Method Detail

      • setSSLTrust

        public void setSSLTrust​(int trust)
        Set the SSL trust flags for this certificate.
        Specified by:
        setSSLTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      • setEmailTrust

        public void setEmailTrust​(int trust)
        Set the email (S/MIME) trust flags for this certificate.
        Specified by:
        setEmailTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      • setObjectSigningTrust

        public void setObjectSigningTrust​(int trust)
        Set the object signing trust flags for this certificate.
        Specified by:
        setObjectSigningTrust in interface InternalCertificate
        Parameters:
        trust - A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      • getSSLTrust

        public int getSSLTrust()
        Get the SSL trust flags for this certificate.
        Specified by:
        getSSLTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      • getEmailTrust

        public int getEmailTrust()
        Get the email (S/MIME) trust flags for this certificate.
        Specified by:
        getEmailTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
      • getObjectSigningTrust

        public int getObjectSigningTrust()
        Get the object signing trust flags for this certificate.
        Specified by:
        getObjectSigningTrust in interface InternalCertificate
        Returns:
        A bitwise OR of the trust flags VALID_PEER, VALID_CA, TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.