CPKIFPathSettings.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 class CPKIFPathSettings {
00012   private long swigCPtr;
00013   protected boolean swigCMemOwn;
00014 
00015   public CPKIFPathSettings(long cPtr, boolean cMemoryOwn) {
00016     swigCMemOwn = cMemoryOwn;
00017     swigCPtr = cPtr;
00018   }
00019 
00020   public static long getCPtr(CPKIFPathSettings obj) {
00021     return (obj == null) ? 0 : obj.swigCPtr;
00022   }
00023 
00024   protected void finalize() {
00025     delete();
00026   }
00027 
00028   public synchronized void delete() {
00029     if (swigCPtr != 0) {
00030       if (swigCMemOwn) {
00031         swigCMemOwn = false;
00032         pkif_moduleJNI.delete_CPKIFPathSettings(swigCPtr);
00033       }
00034       swigCPtr = 0;
00035     }
00036   }
00037 
00038   public CPKIFPathSettings() {
00039     this(pkif_moduleJNI.new_CPKIFPathSettings__SWIG_0(), true);
00040   }
00041 
00042   public CPKIFPathSettings(CPKIFPathSettings settings) {
00043     this(pkif_moduleJNI.new_CPKIFPathSettings__SWIG_1(CPKIFPathSettings.getCPtr(settings), settings), true);
00044   }
00045 
00046   public void SetUseValidatorFilterWhenBuilding(boolean b) {
00047     pkif_moduleJNI.CPKIFPathSettings_SetUseValidatorFilterWhenBuilding(swigCPtr, this, b);
00048   }
00049 
00050   public boolean GetUseValidatorFilterWhenBuilding() {
00051     return pkif_moduleJNI.CPKIFPathSettings_GetUseValidatorFilterWhenBuilding(swigCPtr, this);
00052   }
00053 
00054   public void SetInitialExplicitPolicyIndicator(boolean b) {
00055     pkif_moduleJNI.CPKIFPathSettings_SetInitialExplicitPolicyIndicator__SWIG_0(swigCPtr, this, b);
00056   }
00057 
00058   public void SetInitialPolicyMappingInhibitIndicator(boolean b) {
00059     pkif_moduleJNI.CPKIFPathSettings_SetInitialPolicyMappingInhibitIndicator__SWIG_0(swigCPtr, this, b);
00060   }
00061 
00062   public void SetInitialInhibitAnyPolicyIndicator(boolean b) {
00063     pkif_moduleJNI.CPKIFPathSettings_SetInitialInhibitAnyPolicyIndicator__SWIG_0(swigCPtr, this, b);
00064   }
00065 
00066   public void SetInitialExplicitPolicyIndicator() {
00067     pkif_moduleJNI.CPKIFPathSettings_SetInitialExplicitPolicyIndicator__SWIG_1(swigCPtr, this);
00068   }
00069 
00070   public boolean GetInitialExplicitPolicyIndicator() {
00071     return pkif_moduleJNI.CPKIFPathSettings_GetInitialExplicitPolicyIndicator(swigCPtr, this);
00072   }
00073 
00074   public void SetInitialPolicyMappingInhibitIndicator() {
00075     pkif_moduleJNI.CPKIFPathSettings_SetInitialPolicyMappingInhibitIndicator__SWIG_1(swigCPtr, this);
00076   }
00077 
00078   public boolean GetInitialPolicyMappingInhibitIndicator() {
00079     return pkif_moduleJNI.CPKIFPathSettings_GetInitialPolicyMappingInhibitIndicator(swigCPtr, this);
00080   }
00081 
00082   public void SetInitialInhibitAnyPolicyIndicator() {
00083     pkif_moduleJNI.CPKIFPathSettings_SetInitialInhibitAnyPolicyIndicator__SWIG_1(swigCPtr, this);
00084   }
00085 
00086   public boolean GetInitialInhibitAnyPolicyIndicator() {
00087     return pkif_moduleJNI.CPKIFPathSettings_GetInitialInhibitAnyPolicyIndicator(swigCPtr, this);
00088   }
00089 
00090   public void SetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet) {
00091     pkif_moduleJNI.CPKIFPathSettings_SetInitialPolicySet(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet);
00092   }
00093 
00094   public void GetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet, boolean bReturnAnyPolicyWhenEmpty) {
00095     pkif_moduleJNI.CPKIFPathSettings_GetInitialPolicySet__SWIG_0(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet, bReturnAnyPolicyWhenEmpty);
00096   }
00097 
00098   public void GetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet) {
00099     pkif_moduleJNI.CPKIFPathSettings_GetInitialPolicySet__SWIG_1(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet);
00100   }
00101 
00102   public void SetInitialPermSubtrees(CPKIFGeneralSubtreeListPtr permSubtrees) {
00103     pkif_moduleJNI.CPKIFPathSettings_SetInitialPermSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(permSubtrees), permSubtrees);
00104   }
00105 
00106   public void GetInitialPermSubtrees(CPKIFGeneralSubtreeListPtr permSubtrees) {
00107     pkif_moduleJNI.CPKIFPathSettings_GetInitialPermSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(permSubtrees), permSubtrees);
00108   }
00109 
00110   public void SetInitialExclSubtrees(CPKIFGeneralSubtreeListPtr exclSubtrees) {
00111     pkif_moduleJNI.CPKIFPathSettings_SetInitialExclSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(exclSubtrees), exclSubtrees);
00112   }
00113 
00114   public void GetInitialExclSubtrees(CPKIFGeneralSubtreeListPtr exclSubtrees) {
00115     pkif_moduleJNI.CPKIFPathSettings_GetInitialExclSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(exclSubtrees), exclSubtrees);
00116   }
00117 
00118   public void SetRequireFreshRevocationData(boolean b) {
00119     pkif_moduleJNI.CPKIFPathSettings_SetRequireFreshRevocationData(swigCPtr, this, b);
00120   }
00121 
00122   public boolean GetRequireFreshRevocationData() {
00123     return pkif_moduleJNI.CPKIFPathSettings_GetRequireFreshRevocationData(swigCPtr, this);
00124   }
00125 
00126   public void SetOverrideCallback(SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool overrideCallback) {
00127     pkif_moduleJNI.CPKIFPathSettings_SetOverrideCallback(swigCPtr, this, SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool.getCPtr(overrideCallback));
00128   }
00129 
00130   public SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool GetOverrideCallback() {
00131     long cPtr = pkif_moduleJNI.CPKIFPathSettings_GetOverrideCallback(swigCPtr, this);
00132     return (cPtr == 0) ? null : new SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool(cPtr, false);
00133   }
00134 
00135   public void SetCheckRevocationStatus(boolean checkRevStatus) {
00136     pkif_moduleJNI.CPKIFPathSettings_SetCheckRevocationStatus(swigCPtr, this, checkRevStatus);
00137   }
00138 
00139   public boolean GetCheckRevocationStatus() {
00140     return pkif_moduleJNI.CPKIFPathSettings_GetCheckRevocationStatus(swigCPtr, this);
00141   }
00142 
00143   public void SetValidationTime(CPKIFTimePtr time) {
00144     pkif_moduleJNI.CPKIFPathSettings_SetValidationTime(swigCPtr, this, CPKIFTimePtr.getCPtr(time), time);
00145   }
00146 
00147   public CPKIFTimePtr GetValidationTime() {
00148     return new CPKIFTimePtr(pkif_moduleJNI.CPKIFPathSettings_GetValidationTime(swigCPtr, this), true);
00149   }
00150 
00151   public void SetRequireValidationTimeNesting(boolean b) {
00152     pkif_moduleJNI.CPKIFPathSettings_SetRequireValidationTimeNesting(swigCPtr, this, b);
00153   }
00154 
00155   public boolean GetRequireValidationTimeNesting() {
00156     return pkif_moduleJNI.CPKIFPathSettings_GetRequireValidationTimeNesting(swigCPtr, this);
00157   }
00158 
00159   public int GetDepth() {
00160     return pkif_moduleJNI.CPKIFPathSettings_GetDepth(swigCPtr, this);
00161   }
00162 
00163   public void SetDepth(int d) {
00164     pkif_moduleJNI.CPKIFPathSettings_SetDepth(swigCPtr, this, d);
00165   }
00166 
00167   public void SetRequireSufficientlyRecent(boolean requireSufficientlyRecent) {
00168     pkif_moduleJNI.CPKIFPathSettings_SetRequireSufficientlyRecent(swigCPtr, this, requireSufficientlyRecent);
00169   }
00170 
00171   public boolean GetRequireSufficientlyRecent() {
00172     return pkif_moduleJNI.CPKIFPathSettings_GetRequireSufficientlyRecent(swigCPtr, this);
00173   }
00174 
00175   public void SetSufficientlyRecent(int seconds) {
00176     pkif_moduleJNI.CPKIFPathSettings_SetSufficientlyRecent(swigCPtr, this, seconds);
00177   }
00178 
00179   public CPKIFDurationPtr GetDuration() {
00180     return new CPKIFDurationPtr(pkif_moduleJNI.CPKIFPathSettings_GetDuration(swigCPtr, this), true);
00181   }
00182 
00183   public final static int EXPLICIT_POLICY = pkif_moduleJNI.CPKIFPathSettings_EXPLICIT_POLICY_get();
00184   public final static int POLICY_MAPPING = pkif_moduleJNI.CPKIFPathSettings_POLICY_MAPPING_get();
00185   public final static int ANY_POLICY = pkif_moduleJNI.CPKIFPathSettings_ANY_POLICY_get();
00186 
00187 }

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