Project: stp

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

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

public static enum CcTrustManagerCallback.CertificateStatus
extends Enum<CcTrustManagerCallback.CertificateStatus>

Provides the caller details about what is wrong with a certificate


Enum Constant Summary
CERTIFICATE_DATE_OUT_OF_RANGE
          The certificate's date is out of range
CERTIFICATE_NAME_MISMATCH
          The certificate's name does not match what is trusted in the store
CERTIFICATE_NOT_TRUSTED
          The certificate is not trusted
 
Method Summary
static CcTrustManagerCallback.CertificateStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CcTrustManagerCallback.CertificateStatus[] 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

CERTIFICATE_DATE_OUT_OF_RANGE

public static final CcTrustManagerCallback.CertificateStatus CERTIFICATE_DATE_OUT_OF_RANGE
The certificate's date is out of range


CERTIFICATE_NAME_MISMATCH

public static final CcTrustManagerCallback.CertificateStatus CERTIFICATE_NAME_MISMATCH
The certificate's name does not match what is trusted in the store


CERTIFICATE_NOT_TRUSTED

public static final CcTrustManagerCallback.CertificateStatus CERTIFICATE_NOT_TRUSTED
The certificate is not trusted

Method Detail

valueOf

public static CcTrustManagerCallback.CertificateStatus 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.CertificateStatus[] 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.CertificateStatus c : CcTrustManagerCallback.CertificateStatus.values())
    System.out.println(c);

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

Generated Tue 7-Feb-2017 11:15 PM

Copyright © IBM 2017. All rights reserved.