Project: stp

com.ibm.rational.wvcm.stp.cc
Enum CcTrustManagerCallback.CertificateResponse

Object
  extended by Enum<CcTrustManagerCallback.CertificateResponse>
      extended by CcTrustManagerCallback.CertificateResponse
All Implemented Interfaces:
Serializable, Comparable<CcTrustManagerCallback.CertificateResponse>
Enclosing interface:
CcTrustManagerCallback

public static enum CcTrustManagerCallback.CertificateResponse
extends 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

ACCEPT_AND_INSTALL_CERTIFICATE

public static final CcTrustManagerCallback.CertificateResponse ACCEPT_AND_INSTALL_CERTIFICATE
Accept this certificate and install it into the key store


ACCEPT_CERTIFICATE_TEMPORARILY

public static final CcTrustManagerCallback.CertificateResponse ACCEPT_CERTIFICATE_TEMPORARILY
Temporarily accept the certificate for this session.


REJECT_CERTIFICATE

public static final CcTrustManagerCallback.CertificateResponse REJECT_CERTIFICATE
Reject this certificate for this session.

Method Detail

valueOf

public static CcTrustManagerCallback.CertificateResponse valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

values

public static CcTrustManagerCallback.CertificateResponse[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CcTrustManagerCallback.CertificateResponse c : CcTrustManagerCallback.CertificateResponse.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

Generated Wed 11-Jun-2014 01:18 AM

Copyright © IBM 2014. All rights reserved.