org.mozilla.jss.pkcs11
Class PK11InternalCert
- InternalCertificate, X509Certificate
public class PK11InternalCert
A certificate that lives in the internal cert database.
int | getEmailTrust() - Get the email (S/MIME) trust flags for this certificate.
|
int | getObjectSigningTrust() - Get the object signing trust flags for this certificate.
|
int | getSSLTrust() - Get the SSL trust flags for this certificate.
|
void | setEmailTrust(int trust) - Set the email (S/MIME) trust flags for this certificate.
|
void | setObjectSigningTrust(int trust) - Set the object signing trust flags for this certificate.
|
void | setSSLTrust(int trust) - Set the SSL trust flags for this certificate.
|
getEncoded , getIssuerDN , getIssuerDNString , getNickname , getOwningToken , getPublicKey , getSerialNumber , getSerialNumberByteArray , getSubjectDN , getSubjectDNString , getTrust , getUniqueID , getVersion , setTrust |
EMAIL
public static final int EMAIL
OBJECT_SIGNING
public static final int OBJECT_SIGNING
SSL
public static final int SSL
getEmailTrust
public int getEmailTrust()
Get the email (S/MIME) trust flags for this certificate.
- getEmailTrust in interface InternalCertificate
- 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.
- getObjectSigningTrust in interface InternalCertificate
- 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.
- getSSLTrust in interface InternalCertificate
- 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.
- setEmailTrust in interface InternalCertificate
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.
- setObjectSigningTrust in interface InternalCertificate
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.
setSSLTrust
public void setSSLTrust(int trust)
Set the SSL trust flags for this certificate.
- setSSLTrust in interface InternalCertificate
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.