CPKIFLDAPRepository.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 CPKIFLDAPRepository extends IPKIFPKIRepository {
00012   private long swigCPtr;
00013 
00014   public CPKIFLDAPRepository(long cPtr, boolean cMemoryOwn) {
00015     super(pkif_moduleJNI.CPKIFLDAPRepository_SWIGUpcast(cPtr), cMemoryOwn);
00016     swigCPtr = cPtr;
00017   }
00018 
00019   public static long getCPtr(CPKIFLDAPRepository 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_CPKIFLDAPRepository(swigCPtr);
00032       }
00033       swigCPtr = 0;
00034     }
00035     super.delete();
00036   }
00037 
00038   public CPKIFLDAPRepository() {
00039     this(pkif_moduleJNI.new_CPKIFLDAPRepository(), true);
00040   }
00041 
00042   public void Initialize() {
00043     pkif_moduleJNI.CPKIFLDAPRepository_Initialize(swigCPtr, this);
00044   }
00045 
00046   public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateList certList, PKIInfoSource source) {
00047     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_0(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue());
00048   }
00049 
00050   public void GetCertificates(CPKIFNamePtr subDN, CPKIFCertificateList certList) {
00051     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_1(swigCPtr, this, CPKIFNamePtr.getCPtr(subDN), subDN, CPKIFCertificateList.getCPtr(certList), certList);
00052   }
00053 
00054   public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd) {
00055     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_2(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00056   }
00057 
00058   public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList, PKIInfoSource source) {
00059     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_3(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList, source.swigValue());
00060   }
00061 
00062   public void GetCertificates(CPKIFCertificatePtr cert, CPKIFCertificateList certList) {
00063     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_4(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCertificateList.getCPtr(certList), certList);
00064   }
00065 
00066   public void GetCRLs(CPKIFCertificatePtr cert, CPKIFCRLList crlList, PKIInfoSource source) {
00067     pkif_moduleJNI.CPKIFLDAPRepository_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.CPKIFLDAPRepository_GetCRLs__SWIG_1(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, CPKIFCRLList.getCPtr(crlList), crlList);
00072   }
00073 
00074   public int GetPort() {
00075     return pkif_moduleJNI.CPKIFLDAPRepository_GetPort(swigCPtr, this);
00076   }
00077 
00078   public void Set_Port(int port) {
00079     pkif_moduleJNI.CPKIFLDAPRepository_Set_Port(swigCPtr, this, port);
00080   }
00081 
00082   public String GetHost() {
00083     return pkif_moduleJNI.CPKIFLDAPRepository_GetHost(swigCPtr, this);
00084   }
00085 
00086   public void SetHost(String host) {
00087     pkif_moduleJNI.CPKIFLDAPRepository_SetHost(swigCPtr, this, host);
00088   }
00089 
00090   public String GetUsername() {
00091     return pkif_moduleJNI.CPKIFLDAPRepository_GetUsername(swigCPtr, this);
00092   }
00093 
00094   public void SetUsername(String username) {
00095     pkif_moduleJNI.CPKIFLDAPRepository_SetUsername(swigCPtr, this, username);
00096   }
00097 
00098   public void SetPassword(String password) {
00099     pkif_moduleJNI.CPKIFLDAPRepository_SetPassword(swigCPtr, this, password);
00100   }
00101 
00102   public void SetSuppressConnectionErrors(boolean b) {
00103     pkif_moduleJNI.CPKIFLDAPRepository_SetSuppressConnectionErrors(swigCPtr, this, b);
00104   }
00105 
00106   public boolean GetSuppressConnectionErrors() {
00107     return pkif_moduleJNI.CPKIFLDAPRepository_GetSuppressConnectionErrors(swigCPtr, this);
00108   }
00109 
00110   public void GetCRLSources(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t crlNodeList, PKIInfoSource source) {
00111     pkif_moduleJNI.CPKIFLDAPRepository_GetCRLSources__SWIG_0(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t.getCPtr(crlNodeList), source.swigValue());
00112   }
00113 
00114   public void GetCRLSources(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t crlNodeList) {
00115     pkif_moduleJNI.CPKIFLDAPRepository_GetCRLSources__SWIG_1(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t.getCPtr(crlNodeList));
00116   }
00117 
00118   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) {
00119     pkif_moduleJNI.CPKIFLDAPRepository_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));
00120   }
00121 
00122   public void GetCertificateSources(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t certs) {
00123     pkif_moduleJNI.CPKIFLDAPRepository_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));
00124   }
00125 
00126   public void GetCRLs(CPKIFNamePtr entry, RDNList attributes, CPKIFCRLNodeList crlList) {
00127     pkif_moduleJNI.CPKIFLDAPRepository_GetCRLs__SWIG_2(swigCPtr, this, CPKIFNamePtr.getCPtr(entry), entry, RDNList.getCPtr(attributes), attributes, CPKIFCRLNodeList.getCPtr(crlList), crlList);
00128   }
00129 
00130   public void GetCertificates(CPKIFNamePtr entry, RDNList attributes, CPKIFCertificateNodeList certList, SWIGTYPE_p_PathBuildingDirection pbd) {
00131     pkif_moduleJNI.CPKIFLDAPRepository_GetCertificates__SWIG_5(swigCPtr, this, CPKIFNamePtr.getCPtr(entry), entry, RDNList.getCPtr(attributes), attributes, CPKIFCertificateNodeList.getCPtr(certList), certList, SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00132   }
00133 
00134   public void AddNamespace(CPKIFGeneralSubtreePtr name) {
00135     pkif_moduleJNI.CPKIFLDAPRepository_AddNamespace(swigCPtr, this, CPKIFGeneralSubtreePtr.getCPtr(name), name);
00136   }
00137 
00138   public CPKIFGeneralSubtreeList GetNamespaces() {
00139     return new CPKIFGeneralSubtreeList(pkif_moduleJNI.CPKIFLDAPRepository_GetNamespaces(swigCPtr, this), true);
00140   }
00141 
00142   public PKIInfoSource GetSourceType() {
00143     return PKIInfoSource.swigToEnum(pkif_moduleJNI.CPKIFLDAPRepository_GetSourceType(swigCPtr, this));
00144   }
00145 
00146 }

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