00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class CPKIFCacheMediator2 extends IPKIFColleague {
00012 private long swigCPtr;
00013
00014 public CPKIFCacheMediator2(long cPtr, boolean cMemoryOwn) {
00015 super(pkif_moduleJNI.CPKIFCacheMediator2_SWIGUpcast(cPtr), cMemoryOwn);
00016 swigCPtr = cPtr;
00017 }
00018
00019 public static long getCPtr(CPKIFCacheMediator2 obj) {
00020 return (obj == null) ? 0 : obj.swigCPtr;
00021 }
00022
00023 protected void finalize() {
00024 delete();
00025 }
00026
00027 public synchronized void delete() {
00028 if (swigCPtr != 0) {
00029 if (swigCMemOwn) {
00030 swigCMemOwn = false;
00031 pkif_moduleJNI.delete_CPKIFCacheMediator2(swigCPtr);
00032 }
00033 swigCPtr = 0;
00034 }
00035 super.delete();
00036 }
00037
00038 public CPKIFCacheMediator2(boolean addDefaultColleagues) {
00039 this(pkif_moduleJNI.new_CPKIFCacheMediator2__SWIG_0(addDefaultColleagues), true);
00040 }
00041
00042 public CPKIFCacheMediator2() {
00043 this(pkif_moduleJNI.new_CPKIFCacheMediator2__SWIG_1(), true);
00044 }
00045
00046 public void InitializeMediator(SWIGTYPE_p_std__vectorT_CPKIFException_p_t errorInfo) {
00047 pkif_moduleJNI.CPKIFCacheMediator2_InitializeMediator(swigCPtr, this, SWIGTYPE_p_std__vectorT_CPKIFException_p_t.getCPtr(errorInfo));
00048 }
00049
00050 public void Terminate() {
00051 pkif_moduleJNI.CPKIFCacheMediator2_Terminate(swigCPtr, this);
00052 }
00053
00054 public void Initialize() {
00055 pkif_moduleJNI.CPKIFCacheMediator2_Initialize(swigCPtr, this);
00056 }
00057
00058 public void GetColleagues(IPKIFColleagueList v) {
00059 pkif_moduleJNI.CPKIFCacheMediator2_GetColleagues(swigCPtr, this, IPKIFColleagueList.getCPtr(v), v);
00060 }
00061
00062 public void AddColleague(IPKIFColleaguePtr module) {
00063 pkif_moduleJNI.CPKIFCacheMediator2_AddColleague(swigCPtr, this, IPKIFColleaguePtr.getCPtr(module), module);
00064 }
00065
00066 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLList crlList, PKIInfoSource source) {
00067 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_0(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLList.getCPtr(crlList), crlList, source.swigValue());
00068 }
00069
00070 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLList crlList) {
00071 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_1(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLList.getCPtr(crlList), crlList);
00072 }
00073
00074 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLNodeList crlNodeList, PKIInfoSource source) {
00075 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_2(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLNodeList.getCPtr(crlNodeList), crlNodeList, source.swigValue());
00076 }
00077
00078 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLNodeList crlNodeList) {
00079 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_3(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLNodeList.getCPtr(crlNodeList), crlNodeList);
00080 }
00081
00082 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLList crlList, PKIInfoSource source, CPKIFPathSettingsPtr ps) {
00083 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_4(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLList.getCPtr(crlList), crlList, source.swigValue(), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00084 }
00085
00086 public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLNodeList crlNodeList, PKIInfoSource source, CPKIFPathSettingsPtr ps) {
00087 pkif_moduleJNI.CPKIFCacheMediator2_GetCRLs__SWIG_5(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLNodeList.getCPtr(crlNodeList), crlNodeList, source.swigValue(), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00088 }
00089
00090 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateList certList, PKIInfoSource source) {
00091 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_0(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue());
00092 }
00093
00094 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateList certList) {
00095 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_1(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateList.getCPtr(certList), certList);
00096 }
00097
00098 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateNodeList certNodeList, PKIInfoSource source) {
00099 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_2(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList, source.swigValue());
00100 }
00101
00102 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateNodeList certNodeList) {
00103 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_3(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList);
00104 }
00105
00106 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd) {
00107 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_4(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00108 }
00109
00110 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList, PKIInfoSource source) {
00111 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_5(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue());
00112 }
00113
00114 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList) {
00115 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_6(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList);
00116 }
00117
00118 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateNodeList certNodeList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd) {
00119 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_7(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00120 }
00121
00122 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateNodeList certNodeList, PKIInfoSource source) {
00123 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_8(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList, source.swigValue());
00124 }
00125
00126 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateNodeList certNodeList) {
00127 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_9(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList);
00128 }
00129
00130 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateList certList, PKIInfoSource source, CPKIFPathSettingsPtr ps) {
00131 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_10(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue(), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00132 }
00133
00134 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd, CPKIFPathSettingsPtr ps) {
00135 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_11(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00136 }
00137
00138 public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateNodeList certNodeList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd, CPKIFPathSettingsPtr ps) {
00139 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_12(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00140 }
00141
00142 public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateNodeList certNodeList, PKIInfoSource source, CPKIFPathSettingsPtr ps) {
00143 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificates__SWIG_13(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList, source.swigValue(), CPKIFPathSettingsPtr.getCPtr(ps), ps);
00144 }
00145
00146 public void AddCRL(CPKIFCRLPtr crl, CPKIFGeneralNamePtr dp) {
00147 pkif_moduleJNI.CPKIFCacheMediator2_AddCRL(swigCPtr, this, CPKIFCRLPtr.getCPtr(crl), crl, CPKIFGeneralNamePtr.getCPtr(dp), dp);
00148 }
00149
00150 public void AddCertificate(CertType certType, CPKIFCertificatePtr cert) {
00151 pkif_moduleJNI.CPKIFCacheMediator2_AddCertificate__SWIG_0(swigCPtr, this, certType.swigValue(), CPKIFCertificatePtr.getCPtr(cert), cert);
00152 }
00153
00154 public void AddCertificate(CertType certType, CPKIFCertificateNodeEntryPtr certNode) {
00155 pkif_moduleJNI.CPKIFCacheMediator2_AddCertificate__SWIG_1(swigCPtr, this, certType.swigValue(), CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode);
00156 }
00157
00158 public boolean GetTrustRoots(CPKIFNamePtr subDN, IPKIFTrustAnchorList rootList) {
00159 return pkif_moduleJNI.CPKIFCacheMediator2_GetTrustRoots(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, IPKIFTrustAnchorList.getCPtr(rootList), rootList);
00160 }
00161
00162 public void FindCertificates(IPKIFSearchCriteria searchCriteria, CPKIFCertificateList certList, PKIInfoSource source) {
00163 pkif_moduleJNI.CPKIFCacheMediator2_FindCertificates__SWIG_0(swigCPtr, this, IPKIFSearchCriteria.getCPtr(searchCriteria), searchCriteria, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue());
00164 }
00165
00166 public void FindCertificates(IPKIFSearchCriteria searchCriteria, CPKIFCertificateList certList) {
00167 pkif_moduleJNI.CPKIFCacheMediator2_FindCertificates__SWIG_1(swigCPtr, this, IPKIFSearchCriteria.getCPtr(searchCriteria), searchCriteria, CPKIFCertificateList.getCPtr(certList), certList);
00168 }
00169
00170 public void FindKeys(IPKIFSearchCriteria searchCriteria, IPKIFNameAndKeyList keyList, PKIInfoSource source) {
00171 pkif_moduleJNI.CPKIFCacheMediator2_FindKeys__SWIG_0(swigCPtr, this, IPKIFSearchCriteria.getCPtr(searchCriteria), searchCriteria, IPKIFNameAndKeyList.getCPtr(keyList), keyList, source.swigValue());
00172 }
00173
00174 public void FindKeys(IPKIFSearchCriteria searchCriteria, IPKIFNameAndKeyList keyList) {
00175 pkif_moduleJNI.CPKIFCacheMediator2_FindKeys__SWIG_1(swigCPtr, this, IPKIFSearchCriteria.getCPtr(searchCriteria), searchCriteria, IPKIFNameAndKeyList.getCPtr(keyList), keyList);
00176 }
00177
00178 public void GetCertificateSources(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t certs, SWIGTYPE_p_PathBuildingDirection pbd) {
00179 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificateSources__SWIG_0(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t.getCPtr(certs), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00180 }
00181
00182 public void GetCertificateSources(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t certs) {
00183 pkif_moduleJNI.CPKIFCacheMediator2_GetCertificateSources__SWIG_1(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t.getCPtr(certs));
00184 }
00185
00186 public PKIInfoSource GetSourceType() {
00187 return PKIInfoSource.swigToEnum(pkif_moduleJNI.CPKIFCacheMediator2_GetSourceType(swigCPtr, this));
00188 }
00189
00190 }