SYMKEY_ALG.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 SYMKEY_ALG {
00012   public final static SYMKEY_ALG TDES = new SYMKEY_ALG("TDES");
00013   public final static SYMKEY_ALG DES = new SYMKEY_ALG("DES");
00014   public final static SYMKEY_ALG AES = new SYMKEY_ALG("AES");
00015   public final static SYMKEY_ALG AES128 = new SYMKEY_ALG("AES128");
00016   public final static SYMKEY_ALG AES192 = new SYMKEY_ALG("AES192");
00017   public final static SYMKEY_ALG AES256 = new SYMKEY_ALG("AES256");
00018   public final static SYMKEY_ALG AES128Wrap = new SYMKEY_ALG("AES128Wrap");
00019   public final static SYMKEY_ALG AES192Wrap = new SYMKEY_ALG("AES192Wrap");
00020   public final static SYMKEY_ALG AES256Wrap = new SYMKEY_ALG("AES256Wrap");
00021   public final static SYMKEY_ALG CAST = new SYMKEY_ALG("CAST");
00022   public final static SYMKEY_ALG RC4 = new SYMKEY_ALG("RC4");
00023   public final static SYMKEY_ALG RC2 = new SYMKEY_ALG("RC2");
00024   public final static SYMKEY_ALG SKIPJACK = new SYMKEY_ALG("SKIPJACK");
00025 
00026   public final int swigValue() {
00027     return swigValue;
00028   }
00029 
00030   public String toString() {
00031     return swigName;
00032   }
00033 
00034   public static SYMKEY_ALG swigToEnum(int swigValue) {
00035     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00036       return swigValues[swigValue];
00037     for (int i = 0; i < swigValues.length; i++)
00038       if (swigValues[i].swigValue == swigValue)
00039         return swigValues[i];
00040     throw new IllegalArgumentException("No enum " + SYMKEY_ALG.class + " with value " + swigValue);
00041   }
00042 
00043   private SYMKEY_ALG(String swigName) {
00044     this.swigName = swigName;
00045     this.swigValue = swigNext++;
00046   }
00047 
00048   private SYMKEY_ALG(String swigName, int swigValue) {
00049     this.swigName = swigName;
00050     this.swigValue = swigValue;
00051     swigNext = swigValue+1;
00052   }
00053 
00054   private SYMKEY_ALG(String swigName, SYMKEY_ALG swigEnum) {
00055     this.swigName = swigName;
00056     this.swigValue = swigEnum.swigValue;
00057     swigNext = this.swigValue+1;
00058   }
00059 
00060   private static SYMKEY_ALG[] swigValues = { TDES, DES, AES, AES128, AES192, AES256, AES128Wrap, AES192Wrap, AES256Wrap, CAST, RC4, RC2, SKIPJACK };
00061   private static int swigNext = 0;
00062   private final int swigValue;
00063   private final String swigName;
00064 }
00065 

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