Interface InternalCertificate

    • Field Detail

      • VALID_PEER

        @Deprecated
        static final int VALID_PEER
        Deprecated.
        Use PK11Cert.VALID_PEER instead.
        See Also:
        Constant Field Values
      • TRUSTED_PEER

        @Deprecated
        static final int TRUSTED_PEER
        Deprecated.
        Use PK11Cert.TRUSTED_PEER instead.
        See Also:
        Constant Field Values
      • VALID_CA

        @Deprecated
        static final int VALID_CA
        Deprecated.
        Use PK11Cert.VALID_CA instead.
        See Also:
        Constant Field Values
      • TRUSTED_CA

        @Deprecated
        static final int TRUSTED_CA
        Deprecated.
        Use PK11Cert.TRUSTED_CA instead.
        See Also:
        Constant Field Values
      • USER

        @Deprecated
        static final int USER
        Deprecated.
        Use PK11Cert.USER instead.
        See Also:
        Constant Field Values
      • TRUSTED_CLIENT_CA

        @Deprecated
        static final int TRUSTED_CLIENT_CA
        Deprecated.
        Use PK11Cert.TRUSTED_CLIENT_CA instead.
        See Also:
        Constant Field Values
    • Method Detail

      • setSSLTrust

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

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

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

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

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

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