|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.pkcs11.PK11Cert
org.mozilla.jss.pkcs11.PK11InternalCert
public class PK11InternalCert
A certificate that lives in the internal cert database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mozilla.jss.pkcs11.PK11Cert |
---|
PK11Cert.StringPrincipal |
Field Summary | |
---|---|
static int |
EMAIL
|
static int |
OBJECT_SIGNING
|
static int |
SSL
|
Fields inherited from class org.mozilla.jss.pkcs11.PK11Cert |
---|
certProxy, nickname, tokenProxy |
Fields inherited from interface org.mozilla.jss.crypto.InternalCertificate |
---|
TRUSTED_CA, TRUSTED_CLIENT_CA, TRUSTED_PEER, USER, VALID_CA, VALID_PEER |
Method Summary | |
---|---|
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. |
Methods inherited from class org.mozilla.jss.pkcs11.PK11Cert |
---|
getEncoded, getIssuerDN, getIssuerDNString, getNickname, getOwningToken, getPublicKey, getSerialNumber, getSerialNumberByteArray, getSubjectDN, getSubjectDNString, getTrust, getUniqueID, getVersion, setTrust |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mozilla.jss.crypto.X509Certificate |
---|
getEncoded, getIssuerDN, getNickname, getPublicKey, getSerialNumber, getSubjectDN, getVersion |
Field Detail |
---|
public static final int SSL
public static final int EMAIL
public static final int OBJECT_SIGNING
Method Detail |
---|
public void setSSLTrust(int trust)
setSSLTrust
in interface InternalCertificate
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.public void setEmailTrust(int trust)
setEmailTrust
in interface InternalCertificate
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.public void setObjectSigningTrust(int trust)
setObjectSigningTrust
in interface InternalCertificate
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.public int getSSLTrust()
getSSLTrust
in interface InternalCertificate
public int getEmailTrust()
getEmailTrust
in interface InternalCertificate
public int getObjectSigningTrust()
getObjectSigningTrust
in interface InternalCertificate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |