CMSPathValidationStatus.java

Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.1
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package com.orionsec.jpkif;
00010 
00011 public final class CMSPathValidationStatus {
00012   public final static CMSPathValidationStatus PVS_NOT_VALIDATED = new CMSPathValidationStatus("PVS_NOT_VALIDATED", pkif_moduleJNI.PVS_NOT_VALIDATED_get());
00013   public final static CMSPathValidationStatus PVS_CERT_PATH_VERIFIED = new CMSPathValidationStatus("PVS_CERT_PATH_VERIFIED", pkif_moduleJNI.PVS_CERT_PATH_VERIFIED_get());
00014   public final static CMSPathValidationStatus PVS_REV_STATUS_VERIFIED = new CMSPathValidationStatus("PVS_REV_STATUS_VERIFIED", pkif_moduleJNI.PVS_REV_STATUS_VERIFIED_get());
00015 
00016   public final int swigValue() {
00017     return swigValue;
00018   }
00019 
00020   public String toString() {
00021     return swigName;
00022   }
00023 
00024   public static CMSPathValidationStatus swigToEnum(int swigValue) {
00025     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00026       return swigValues[swigValue];
00027     for (int i = 0; i < swigValues.length; i++)
00028       if (swigValues[i].swigValue == swigValue)
00029         return swigValues[i];
00030     throw new IllegalArgumentException("No enum " + CMSPathValidationStatus.class + " with value " + swigValue);
00031   }
00032 
00033   private CMSPathValidationStatus(String swigName) {
00034     this.swigName = swigName;
00035     this.swigValue = swigNext++;
00036   }
00037 
00038   private CMSPathValidationStatus(String swigName, int swigValue) {
00039     this.swigName = swigName;
00040     this.swigValue = swigValue;
00041     swigNext = swigValue+1;
00042   }
00043 
00044   private CMSPathValidationStatus(String swigName, CMSPathValidationStatus swigEnum) {
00045     this.swigName = swigName;
00046     this.swigValue = swigEnum.swigValue;
00047     swigNext = this.swigValue+1;
00048   }
00049 
00050   private static CMSPathValidationStatus[] swigValues = { PVS_NOT_VALIDATED, PVS_CERT_PATH_VERIFIED, PVS_REV_STATUS_VERIFIED };
00051   private static int swigNext = 0;
00052   private final int swigValue;
00053   private final String swigName;
00054 }
00055 

Generated on Mon Nov 15 11:15:47 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6