|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CcTrustManagerCallback.CertificateResponse>
CcTrustManagerCallback.CertificateResponse
public static enum CcTrustManagerCallback.CertificateResponse
The caller provides a response in reply to the callback to indicate how to handle the certificate problem.
Enum Constant Summary | |
---|---|
ACCEPT_AND_INSTALL_CERTIFICATE
Accept this certificate and install it into the key store |
|
ACCEPT_CERTIFICATE_TEMPORARILY
Temporarily accept the certificate for this session. |
|
REJECT_CERTIFICATE
Reject this certificate for this session. |
Method Summary | |
---|---|
static CcTrustManagerCallback.CertificateResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CcTrustManagerCallback.CertificateResponse[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CcTrustManagerCallback.CertificateResponse ACCEPT_AND_INSTALL_CERTIFICATE
public static final CcTrustManagerCallback.CertificateResponse ACCEPT_CERTIFICATE_TEMPORARILY
public static final CcTrustManagerCallback.CertificateResponse REJECT_CERTIFICATE
Method Detail |
---|
public static CcTrustManagerCallback.CertificateResponse valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static CcTrustManagerCallback.CertificateResponse[] values()
for (CcTrustManagerCallback.CertificateResponse c : CcTrustManagerCallback.CertificateResponse.values()) System.out.println(c);
|
Generated Thu 18-Aug-2016 11:59 AM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |