|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ICertificateTrustVerifier.TrustMode>
eu.geclipse.core.security.ICertificateTrustVerifier.TrustMode
public static enum ICertificateTrustVerifier.TrustMode
The trust mode of the certificate.
| Enum Constant Summary | |
|---|---|
Never
Trust mode for never trusting a certificate. |
|
None
Trust mode could not be established. |
|
NotNow
Trust mode for temporarily not trusting a certificate. |
|
Permanent
Trust mode for permanently trusting a certificate. |
|
Session
Trust mode for trusting a certificate within the current session. |
|
Temporarily
Trust mode for temporarily trusting a certificate. |
|
| Method Summary | |
|---|---|
boolean |
isTrusted()
Determine if the trust mode denotes a trust state. |
boolean |
isValid()
Determine if the trust mode is a valid mode. |
static ICertificateTrustVerifier.TrustMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ICertificateTrustVerifier.TrustMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ICertificateTrustVerifier.TrustMode None
public static final ICertificateTrustVerifier.TrustMode Never
public static final ICertificateTrustVerifier.TrustMode NotNow
public static final ICertificateTrustVerifier.TrustMode Temporarily
public static final ICertificateTrustVerifier.TrustMode Session
public static final ICertificateTrustVerifier.TrustMode Permanent
| Method Detail |
|---|
public static final ICertificateTrustVerifier.TrustMode[] values()
for(ICertificateTrustVerifier.TrustMode c : ICertificateTrustVerifier.TrustMode.values())
System.out.println(c);
public static ICertificateTrustVerifier.TrustMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isTrusted()
True if the trust mode is Temporarily.
Session or Permanent.public boolean isValid()
None.
True if the trust mode is a valid one.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||