CMSVerificationStatus.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 CMSVerificationStatus {
00012   public final static CMSVerificationStatus REV_STATUS_INVALID = new CMSVerificationStatus("REV_STATUS_INVALID", pkif_moduleJNI.REV_STATUS_INVALID_get());
00013   public final static CMSVerificationStatus CERT_PATH_INVALID = new CMSVerificationStatus("CERT_PATH_INVALID", pkif_moduleJNI.CERT_PATH_INVALID_get());
00014   public final static CMSVerificationStatus CMS_SIGNATURE_INVALID = new CMSVerificationStatus("CMS_SIGNATURE_INVALID", pkif_moduleJNI.CMS_SIGNATURE_INVALID_get());
00015   public final static CMSVerificationStatus NOT_VERIFIED = new CMSVerificationStatus("NOT_VERIFIED", pkif_moduleJNI.NOT_VERIFIED_get());
00016   public final static CMSVerificationStatus CMS_SIGNATURE_VERIFIED = new CMSVerificationStatus("CMS_SIGNATURE_VERIFIED", pkif_moduleJNI.CMS_SIGNATURE_VERIFIED_get());
00017   public final static CMSVerificationStatus CERT_PATH_VERIFIED = new CMSVerificationStatus("CERT_PATH_VERIFIED", pkif_moduleJNI.CERT_PATH_VERIFIED_get());
00018   public final static CMSVerificationStatus REV_STATUS_VERIFIED = new CMSVerificationStatus("REV_STATUS_VERIFIED", pkif_moduleJNI.REV_STATUS_VERIFIED_get());
00019 
00020   public final int swigValue() {
00021     return swigValue;
00022   }
00023 
00024   public String toString() {
00025     return swigName;
00026   }
00027 
00028   public static CMSVerificationStatus swigToEnum(int swigValue) {
00029     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00030       return swigValues[swigValue];
00031     for (int i = 0; i < swigValues.length; i++)
00032       if (swigValues[i].swigValue == swigValue)
00033         return swigValues[i];
00034     throw new IllegalArgumentException("No enum " + CMSVerificationStatus.class + " with value " + swigValue);
00035   }
00036 
00037   private CMSVerificationStatus(String swigName) {
00038     this.swigName = swigName;
00039     this.swigValue = swigNext++;
00040   }
00041 
00042   private CMSVerificationStatus(String swigName, int swigValue) {
00043     this.swigName = swigName;
00044     this.swigValue = swigValue;
00045     swigNext = swigValue+1;
00046   }
00047 
00048   private CMSVerificationStatus(String swigName, CMSVerificationStatus swigEnum) {
00049     this.swigName = swigName;
00050     this.swigValue = swigEnum.swigValue;
00051     swigNext = this.swigValue+1;
00052   }
00053 
00054   private static CMSVerificationStatus[] swigValues = { REV_STATUS_INVALID, CERT_PATH_INVALID, CMS_SIGNATURE_INVALID, NOT_VERIFIED, CMS_SIGNATURE_VERIFIED, CERT_PATH_VERIFIED, REV_STATUS_VERIFIED };
00055   private static int swigNext = 0;
00056   private final int swigValue;
00057   private final String swigName;
00058 }
00059 

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