IPKIFSynonymousSourceStore.java
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class IPKIFSynonymousSourceStore {
00012 private long swigCPtr;
00013 protected boolean swigCMemOwn;
00014
00015 public IPKIFSynonymousSourceStore(long cPtr, boolean cMemoryOwn) {
00016 swigCMemOwn = cMemoryOwn;
00017 swigCPtr = cPtr;
00018 }
00019
00020 public static long getCPtr(IPKIFSynonymousSourceStore 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_IPKIFSynonymousSourceStore(swigCPtr);
00033 }
00034 swigCPtr = 0;
00035 }
00036 }
00037
00038 public void GetCRLs(CPKIFCertificatePtr cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t crlSourceList, CPKIFCRLNodeList crlNodeList) {
00039 pkif_moduleJNI.IPKIFSynonymousSourceStore_GetCRLs(swigCPtr, this, CPKIFCertificatePtr.getCPtr(cert), cert, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCrlSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCrlSource_t_t_t.getCPtr(crlSourceList), CPKIFCRLNodeList.getCPtr(crlNodeList), crlNodeList);
00040 }
00041
00042 public void GetCerts(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t certSources, CPKIFCertificateNodeList certList, SWIGTYPE_p_PathBuildingDirection pbd) {
00043 pkif_moduleJNI.IPKIFSynonymousSourceStore_GetCerts__SWIG_0(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t.getCPtr(certSources), CPKIFCertificateNodeList.getCPtr(certList), certList, SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
00044 }
00045
00046 public void GetCerts(SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t certSources, CPKIFCertificateNodeList certList) {
00047 pkif_moduleJNI.IPKIFSynonymousSourceStore_GetCerts__SWIG_1(swigCPtr, this, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificateSource_t_PKIFAllocT_boost__shared_ptrT_CPKIFCertificateSource_t_t_t.getCPtr(certSources), CPKIFCertificateNodeList.getCPtr(certList), certList);
00048 }
00049
00050 public void AddCRL(CPKIFCRLNodeEntryPtr crl) {
00051 pkif_moduleJNI.IPKIFSynonymousSourceStore_AddCRL(swigCPtr, this, CPKIFCRLNodeEntryPtr.getCPtr(crl), crl);
00052 }
00053
00054 public void AddCert(CPKIFCertificateNodeEntryPtr cert) {
00055 pkif_moduleJNI.IPKIFSynonymousSourceStore_AddCert(swigCPtr, this, CPKIFCertificateNodeEntryPtr.getCPtr(cert), cert);
00056 }
00057
00058 }