public class PK11InternalCert extends PK11Cert implements InternalCertificate
PK11Cert.StringPrincipal
Modifier and Type | Field and Description |
---|---|
static int |
EMAIL |
static int |
OBJECT_SIGNING |
static int |
SSL |
certProxy, logger, nickname, tokenProxy
TRUSTED_CA, TRUSTED_CLIENT_CA, TRUSTED_PEER, USER, VALID_CA, VALID_PEER
Modifier and Type | Method and Description |
---|---|
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.
|
checkValidity, checkValidity, close, equals, finalize, getBasicConstraints, getCriticalExtensionOIDs, getEncoded, getExtensionValue, getIssuerDN, getIssuerDNString, getIssuerUniqueID, getKeyUsage, getNickname, getNonCriticalExtensionOIDs, getNotAfter, getNotBefore, getOwningToken, getPublicKey, getSerialNumber, getSerialNumberByteArray, getSigAlgName, getSigAlgOID, getSigAlgParams, getSignature, getSubjectDN, getSubjectDNString, getSubjectUniqueID, getTBSCertificate, getTrust, getUniqueID, getVersion, hashCode, hasUnsupportedCriticalExtension, setTrust, toString, verify, verify
getExtendedKeyUsage, getIssuerAlternativeNames, getIssuerX500Principal, getSubjectAlternativeNames, getSubjectX500Principal, verify
getEncoded, getIssuerDN, getNickname, getPublicKey, getSerialNumber, getSubjectDN, getVersion
public static final int SSL
public static final int EMAIL
public static final int OBJECT_SIGNING
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