CPKIFPathValidationResultsPtr.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 CPKIFPathValidationResultsPtr {
00012   private long swigCPtr;
00013   protected boolean swigCMemOwn;
00014 
00015   public CPKIFPathValidationResultsPtr(long cPtr, boolean cMemoryOwn) {
00016     swigCMemOwn = cMemoryOwn;
00017     swigCPtr = cPtr;
00018   }
00019 
00020   public static long getCPtr(CPKIFPathValidationResultsPtr 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_CPKIFPathValidationResultsPtr(swigCPtr);
00033       }
00034       swigCPtr = 0;
00035     }
00036   }
00037 
00038   public void reset() {
00039     pkif_moduleJNI.CPKIFPathValidationResultsPtr_reset(swigCPtr, this);
00040   }
00041 
00042   public CPKIFPathValidationResults __deref__() {
00043     long cPtr = pkif_moduleJNI.CPKIFPathValidationResultsPtr___deref__(swigCPtr, this);
00044     return (cPtr == 0) ? null : new CPKIFPathValidationResults(cPtr, false);
00045   }
00046 
00047   public CPKIFPathValidationResults get() {
00048     long cPtr = pkif_moduleJNI.CPKIFPathValidationResultsPtr_get(swigCPtr, this);
00049     return (cPtr == 0) ? null : new CPKIFPathValidationResults(cPtr, false);
00050   }
00051 
00052   public boolean unique() {
00053     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_unique(swigCPtr, this);
00054   }
00055 
00056   public int use_count() {
00057     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_use_count(swigCPtr, this);
00058   }
00059 
00060   public void swap(CPKIFPathValidationResultsPtr other) {
00061     pkif_moduleJNI.CPKIFPathValidationResultsPtr_swap(swigCPtr, this, CPKIFPathValidationResultsPtr.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.CPKIFPathValidationResultsPtr__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(CPKIFPathValidationResultsPtr r) {
00070     return pkif_moduleJNI.CPKIFPathValidationResultsPtr__internal_equiv(swigCPtr, this, CPKIFPathValidationResultsPtr.getCPtr(r), r);
00071   }
00072 
00073   public boolean PathSuccessfullyValidated() {
00074     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_PathSuccessfullyValidated(swigCPtr, this);
00075   }
00076 
00077   public boolean GetBasicChecksSuccessfullyPerformed() {
00078     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetBasicChecksSuccessfullyPerformed(swigCPtr, this);
00079   }
00080 
00081   public void SetBasicChecksSuccessfullyPerformed(boolean b) {
00082     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetBasicChecksSuccessfullyPerformed(swigCPtr, this, b);
00083   }
00084 
00085   public boolean GetCertSignaturesVerified() {
00086     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetCertSignaturesVerified(swigCPtr, this);
00087   }
00088 
00089   public void SetCertSignaturesVerified(boolean b) {
00090     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetCertSignaturesVerified(swigCPtr, this, b);
00091   }
00092 
00093   public boolean GetTargetIsTrustAnchor() {
00094     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetTargetIsTrustAnchor(swigCPtr, this);
00095   }
00096 
00097   public void SetTargetIsTrustAnchor(boolean b) {
00098     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetTargetIsTrustAnchor(swigCPtr, this, b);
00099   }
00100 
00101   public RevocationStatus GetRevocationStatusMostSevere() {
00102     return RevocationStatus.swigToEnum(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetRevocationStatusMostSevere(swigCPtr, this));
00103   }
00104 
00105   public void SetRevocationStatusMostSevere(RevocationStatus r) {
00106     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetRevocationStatusMostSevere(swigCPtr, this, r.swigValue());
00107   }
00108 
00109   public CPKIFCertStatusPtr GetCertStatus() {
00110     return new CPKIFCertStatusPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetCertStatus(swigCPtr, this), true);
00111   }
00112 
00113   public void SetCertStatus(CPKIFCertStatusPtr certStatus) {
00114     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetCertStatus(swigCPtr, this, CPKIFCertStatusPtr.getCPtr(certStatus), certStatus);
00115   }
00116 
00117   public int DiagnosticCode() {
00118     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_DiagnosticCode(swigCPtr, this);
00119   }
00120 
00121   public CPKIFAuthorityConstrainedSetTable GetAuthorityConstrainedSetTable() {
00122     long cPtr = pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetAuthorityConstrainedSetTable(swigCPtr, this);
00123     return (cPtr == 0) ? null : new CPKIFAuthorityConstrainedSetTable(cPtr, false);
00124   }
00125 
00126   public void GetAuthorityConstrainedSet(CPKIFPolicyInformationListPtr authSet) {
00127     pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetAuthorityConstrainedSet(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(authSet), authSet);
00128   }
00129 
00130   public void GetUserConstrainedSet(CPKIFPolicyInformationListPtr userSet) {
00131     pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetUserConstrainedSet(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(userSet), userSet);
00132   }
00133 
00134   public void SetUserConstrainedSet(CPKIFPolicyInformationListPtr userSet) {
00135     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetUserConstrainedSet(swigCPtr, this, CPKIFPolicyInformationListPtr.getCPtr(userSet), userSet);
00136   }
00137 
00138   public boolean GetExplicitPolicyIndicator() {
00139     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetExplicitPolicyIndicator(swigCPtr, this);
00140   }
00141 
00142   public void SetExplicitPolicyIndicator(boolean e) {
00143     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetExplicitPolicyIndicator(swigCPtr, this, e);
00144   }
00145 
00146   public void SetCertificate(CPKIFCertificateNodeEntryPtr cert) {
00147     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetCertificate(swigCPtr, this, CPKIFCertificateNodeEntryPtr.getCPtr(cert), cert);
00148   }
00149 
00150   public CPKIFCertificateNodeEntryPtr GetCertificate() {
00151     return new CPKIFCertificateNodeEntryPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetCertificate(swigCPtr, this), true);
00152   }
00153 
00154   public void SetWorkingParams(CPKIFAlgorithmIdentifierPtr wp) {
00155     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetWorkingParams(swigCPtr, this, CPKIFAlgorithmIdentifierPtr.getCPtr(wp), wp);
00156   }
00157 
00158   public CPKIFAlgorithmIdentifierPtr GetWorkingParams() {
00159     return new CPKIFAlgorithmIdentifierPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetWorkingParams(swigCPtr, this), true);
00160   }
00161 
00162   public boolean GetExtensionHandlerChecksSuccessfullyPerformed() {
00163     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetExtensionHandlerChecksSuccessfullyPerformed(swigCPtr, this);
00164   }
00165 
00166   public void SetExtensionHandlerChecksSuccessfullyPerformed(boolean b) {
00167     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetExtensionHandlerChecksSuccessfullyPerformed(swigCPtr, this, b);
00168   }
00169 
00170   public IPKIFTrustAnchorPtr GetTrustAnchor() {
00171     return new IPKIFTrustAnchorPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetTrustAnchor(swigCPtr, this), true);
00172   }
00173 
00174   public void SetTrustAnchor(IPKIFTrustAnchorPtr ta) {
00175     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetTrustAnchor(swigCPtr, this, IPKIFTrustAnchorPtr.getCPtr(ta), ta);
00176   }
00177 
00178   public boolean IsPermittedSubtreesSet() {
00179     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsPermittedSubtreesSet(swigCPtr, this);
00180   }
00181 
00182   public CPKIFGeneralSubtreeListPtr GetPermittedSubtrees() {
00183     return new CPKIFGeneralSubtreeListPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetPermittedSubtrees(swigCPtr, this), true);
00184   }
00185 
00186   public void SetPermittedSubtrees(CPKIFGeneralSubtreeListPtr subtree) {
00187     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetPermittedSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(subtree), subtree);
00188   }
00189 
00190   public boolean IsExcludedSubtreesSet() {
00191     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsExcludedSubtreesSet(swigCPtr, this);
00192   }
00193 
00194   public CPKIFGeneralSubtreeListPtr GetExcludedSubtrees() {
00195     return new CPKIFGeneralSubtreeListPtr(pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetExcludedSubtrees(swigCPtr, this), true);
00196   }
00197 
00198   public void SetExcludedSubtrees(CPKIFGeneralSubtreeListPtr subtree) {
00199     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetExcludedSubtrees(swigCPtr, this, CPKIFGeneralSubtreeListPtr.getCPtr(subtree), subtree);
00200   }
00201 
00202   public boolean IsPendingExplicitPolicySet() {
00203     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsPendingExplicitPolicySet(swigCPtr, this);
00204   }
00205 
00206   public int GetPendingExplicitPolicy() {
00207     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetPendingExplicitPolicy(swigCPtr, this);
00208   }
00209 
00210   public void SetPendingExplicitPolicy(int skipCerts) {
00211     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetPendingExplicitPolicy(swigCPtr, this, skipCerts);
00212   }
00213 
00214   public boolean IsPendingPolicyMappingSet() {
00215     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsPendingPolicyMappingSet(swigCPtr, this);
00216   }
00217 
00218   public int GetPendingPolicyMapping() {
00219     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetPendingPolicyMapping(swigCPtr, this);
00220   }
00221 
00222   public void SetPendingPolicyMapping(int skipCerts) {
00223     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetPendingPolicyMapping(swigCPtr, this, skipCerts);
00224   }
00225 
00226   public boolean IsPendingAnyPolicySet() {
00227     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsPendingAnyPolicySet(swigCPtr, this);
00228   }
00229 
00230   public int GetPendingAnyPolicy() {
00231     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetPendingAnyPolicy(swigCPtr, this);
00232   }
00233 
00234   public void SetPendingAnyPolicy(int skipCerts) {
00235     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetPendingAnyPolicy(swigCPtr, this, skipCerts);
00236   }
00237 
00238   public boolean IsPendingPathLengthSet() {
00239     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_IsPendingPathLengthSet(swigCPtr, this);
00240   }
00241 
00242   public int GetPendingPathLength() {
00243     return pkif_moduleJNI.CPKIFPathValidationResultsPtr_GetPendingPathLength(swigCPtr, this);
00244   }
00245 
00246   public void SetPendingPathLength(int certs) {
00247     pkif_moduleJNI.CPKIFPathValidationResultsPtr_SetPendingPathLength(swigCPtr, this, certs);
00248   }
00249 
00250 }

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