00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class CPKIFPathSettingsPtr {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 public CPKIFPathSettingsPtr(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 public static long getCPtr(CPKIFPathSettingsPtr 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_CPKIFPathSettingsPtr(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public void reset() {
00039 pkif_moduleJNI.CPKIFPathSettingsPtr_reset(swigCPtr, this);
00040 }
00041
00042 public CPKIFPathSettings __deref__() {
00043 long cPtr = pkif_moduleJNI.CPKIFPathSettingsPtr___deref__(swigCPtr, this);
00044 return (cPtr == 0) ? null : new CPKIFPathSettings(cPtr, false);
00045 }
00046
00047 public CPKIFPathSettings get() {
00048 long cPtr = pkif_moduleJNI.CPKIFPathSettingsPtr_get(swigCPtr, this);
00049 return (cPtr == 0) ? null : new CPKIFPathSettings(cPtr, false);
00050 }
00051
00052 public boolean unique() {
00053 return pkif_moduleJNI.CPKIFPathSettingsPtr_unique(swigCPtr, this);
00054 }
00055
00056 public int use_count() {
00057 return pkif_moduleJNI.CPKIFPathSettingsPtr_use_count(swigCPtr, this);
00058 }
00059
00060 public void swap(CPKIFPathSettingsPtr other) {
00061 pkif_moduleJNI.CPKIFPathSettingsPtr_swap(swigCPtr, this, CPKIFPathSettingsPtr.getCPtr(other), other);
00062 }
00063
00064 public SWIGTYPE_p_void _internal_get_deleter(SWIGTYPE_p_boost__detail__sp_typeinfo ti) {
00065 long cPtr = pkif_moduleJNI.CPKIFPathSettingsPtr__internal_get_deleter(swigCPtr, this, SWIGTYPE_p_boost__detail__sp_typeinfo.getCPtr(ti));
00066 return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
00067 }
00068
00069 public boolean _internal_equiv(CPKIFPathSettingsPtr r) {
00070 return pkif_moduleJNI.CPKIFPathSettingsPtr__internal_equiv(swigCPtr, this, CPKIFPathSettingsPtr.getCPtr(r), r);
00071 }
00072
00073 public void SetUseValidatorFilterWhenBuilding(boolean b) {
00074 pkif_moduleJNI.CPKIFPathSettingsPtr_SetUseValidatorFilterWhenBuilding(swigCPtr, this, b);
00075 }
00076
00077 public boolean GetUseValidatorFilterWhenBuilding() {
00078 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetUseValidatorFilterWhenBuilding(swigCPtr, this);
00079 }
00080
00081 public void SetInitialExplicitPolicyIndicator(boolean b) {
00082 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialExplicitPolicyIndicator__SWIG_0(swigCPtr, this, b);
00083 }
00084
00085 public void SetInitialExplicitPolicyIndicator() {
00086 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialExplicitPolicyIndicator__SWIG_1(swigCPtr, this);
00087 }
00088
00089 public void SetInitialPolicyMappingInhibitIndicator(boolean b) {
00090 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialPolicyMappingInhibitIndicator__SWIG_0(swigCPtr, this, b);
00091 }
00092
00093 public void SetInitialPolicyMappingInhibitIndicator() {
00094 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialPolicyMappingInhibitIndicator__SWIG_1(swigCPtr, this);
00095 }
00096
00097 public void SetInitialInhibitAnyPolicyIndicator(boolean b) {
00098 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialInhibitAnyPolicyIndicator__SWIG_0(swigCPtr, this, b);
00099 }
00100
00101 public void SetInitialInhibitAnyPolicyIndicator() {
00102 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialInhibitAnyPolicyIndicator__SWIG_1(swigCPtr, this);
00103 }
00104
00105 public boolean GetInitialExplicitPolicyIndicator() {
00106 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialExplicitPolicyIndicator(swigCPtr, this);
00107 }
00108
00109 public boolean GetInitialPolicyMappingInhibitIndicator() {
00110 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialPolicyMappingInhibitIndicator(swigCPtr, this);
00111 }
00112
00113 public boolean GetInitialInhibitAnyPolicyIndicator() {
00114 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialInhibitAnyPolicyIndicator(swigCPtr, this);
00115 }
00116
00117 public void SetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet) {
00118 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialPolicySet(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet);
00119 }
00120
00121 public void GetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet, boolean bReturnAnyPolicyWhenEmpty) {
00122 pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialPolicySet__SWIG_0(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet, bReturnAnyPolicyWhenEmpty);
00123 }
00124
00125 public void GetInitialPolicySet(CPKIFPolicyInformationListPtr initPolSet) {
00126 pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialPolicySet__SWIG_1(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(initPolSet), initPolSet);
00127 }
00128
00129 public void SetInitialPermSubtrees(CPKIFGeneralSubtreeListPtr permSubtrees) {
00130 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialPermSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(permSubtrees), permSubtrees);
00131 }
00132
00133 public void GetInitialPermSubtrees(CPKIFGeneralSubtreeListPtr permSubtrees) {
00134 pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialPermSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(permSubtrees), permSubtrees);
00135 }
00136
00137 public void SetInitialExclSubtrees(CPKIFGeneralSubtreeListPtr exclSubtrees) {
00138 pkif_moduleJNI.CPKIFPathSettingsPtr_SetInitialExclSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(exclSubtrees), exclSubtrees);
00139 }
00140
00141 public void GetInitialExclSubtrees(CPKIFGeneralSubtreeListPtr exclSubtrees) {
00142 pkif_moduleJNI.CPKIFPathSettingsPtr_GetInitialExclSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(exclSubtrees), exclSubtrees);
00143 }
00144
00145 public void SetRequireFreshRevocationData(boolean b) {
00146 pkif_moduleJNI.CPKIFPathSettingsPtr_SetRequireFreshRevocationData(swigCPtr, this, b);
00147 }
00148
00149 public boolean GetRequireFreshRevocationData() {
00150 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetRequireFreshRevocationData(swigCPtr, this);
00151 }
00152
00153 public void SetOverrideCallback(SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool overrideCallback) {
00154 pkif_moduleJNI.CPKIFPathSettingsPtr_SetOverrideCallback(swigCPtr, this, SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool.getCPtr(overrideCallback));
00155 }
00156
00157 public SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool GetOverrideCallback() {
00158 long cPtr = pkif_moduleJNI.CPKIFPathSettingsPtr_GetOverrideCallback(swigCPtr, this);
00159 return (cPtr == 0) ? null : new SWIGTYPE_p_f_int_r_boost__shared_ptr__CPKIFCertificate___r_q_const__CPKIFCertificatePath__bool(cPtr, false);
00160 }
00161
00162 public void SetCheckRevocationStatus(boolean checkRevStatus) {
00163 pkif_moduleJNI.CPKIFPathSettingsPtr_SetCheckRevocationStatus(swigCPtr, this, checkRevStatus);
00164 }
00165
00166 public boolean GetCheckRevocationStatus() {
00167 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetCheckRevocationStatus(swigCPtr, this);
00168 }
00169
00170 public void SetValidationTime(CPKIFTimePtr time) {
00171 pkif_moduleJNI.CPKIFPathSettingsPtr_SetValidationTime(swigCPtr, this, CPKIFTimePtr.getCPtr(time), time);
00172 }
00173
00174 public CPKIFTimePtr GetValidationTime() {
00175 return new CPKIFTimePtr(pkif_moduleJNI.CPKIFPathSettingsPtr_GetValidationTime(swigCPtr, this), true);
00176 }
00177
00178 public void SetRequireValidationTimeNesting(boolean b) {
00179 pkif_moduleJNI.CPKIFPathSettingsPtr_SetRequireValidationTimeNesting(swigCPtr, this, b);
00180 }
00181
00182 public boolean GetRequireValidationTimeNesting() {
00183 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetRequireValidationTimeNesting(swigCPtr, this);
00184 }
00185
00186 public int GetDepth() {
00187 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetDepth(swigCPtr, this);
00188 }
00189
00190 public void SetDepth(int d) {
00191 pkif_moduleJNI.CPKIFPathSettingsPtr_SetDepth(swigCPtr, this, d);
00192 }
00193
00194 public void SetRequireSufficientlyRecent(boolean requireSufficientlyRecent) {
00195 pkif_moduleJNI.CPKIFPathSettingsPtr_SetRequireSufficientlyRecent(swigCPtr, this, requireSufficientlyRecent);
00196 }
00197
00198 public boolean GetRequireSufficientlyRecent() {
00199 return pkif_moduleJNI.CPKIFPathSettingsPtr_GetRequireSufficientlyRecent(swigCPtr, this);
00200 }
00201
00202 public void SetSufficientlyRecent(int seconds) {
00203 pkif_moduleJNI.CPKIFPathSettingsPtr_SetSufficientlyRecent(swigCPtr, this, seconds);
00204 }
00205
00206 public CPKIFDurationPtr GetDuration() {
00207 return new CPKIFDurationPtr(pkif_moduleJNI.CPKIFPathSettingsPtr_GetDuration(swigCPtr, this), true);
00208 }
00209
00210 }