X509Certificate
PK11InternalCert
, PK11InternalTokenCert
public interface InternalCertificate extends X509Certificate
Modifier and Type | Field | Description |
---|---|---|
static int |
TRUSTED_CA |
|
static int |
TRUSTED_CLIENT_CA |
|
static int |
TRUSTED_PEER |
|
static int |
USER |
|
static int |
VALID_CA |
|
static int |
VALID_PEER |
Modifier and Type | Method | 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.
|
getEncoded, getIssuerDN, getNickname, getPublicKey, getSerialNumber, getSubjectDN, getVersion
static final int VALID_PEER
static final int TRUSTED_PEER
static final int VALID_CA
static final int TRUSTED_CA
static final int USER
static final int TRUSTED_CLIENT_CA
void setSSLTrust(int trust)
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.void setEmailTrust(int trust)
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.void setObjectSigningTrust(int trust)
trust
- A bitwise OR of the trust flags VALID_PEER, VALID_CA,
TRUSTED_CA, USER, and TRUSTED_CLIENT_CA.int getSSLTrust()
int getEmailTrust()
int getObjectSigningTrust()