00001
00002
00003
00004
00005
00006
00007
00008
00009 package com.orionsec.jpkif;
00010
00011 public class pkif_module implements pkif_moduleConstants {
00012 public static CPKIFStringPtr make_CPKIFStringPtr(String str) {
00013 return new CPKIFStringPtr(pkif_moduleJNI.make_CPKIFStringPtr(str), true);
00014 }
00015
00016 public static CPKIFCredentialPtr GetCredentialByID(IPKIFColleaguePtr m, String keyID) {
00017 return new CPKIFCredentialPtr(pkif_moduleJNI.GetCredentialByID(IPKIFColleaguePtr.getCPtr(m), m, keyID), true);
00018 }
00019
00020 public static CPKIFCredentialPtr make_Null_CPKIFCredentialPtr() {
00021 return new CPKIFCredentialPtr(pkif_moduleJNI.make_Null_CPKIFCredentialPtr(), true);
00022 }
00023
00024 public static CPKIFBufferPtr StringToBuffer(String strValue) {
00025 return new CPKIFBufferPtr(pkif_moduleJNI.StringToBuffer(strValue), true);
00026 }
00027
00028 public static byte[] GetBufferAsByteArray(CPKIFBufferPtr bp) {
00029 byte[] ret = pkif_moduleJNI.GetBufferAsByteArray(CPKIFBufferPtr.getCPtr(bp), bp);
00030 return ret;
00031 }
00032
00033 public static String GetBufferAsString(CPKIFBufferPtr bp) {
00034 return pkif_moduleJNI.GetBufferAsString(CPKIFBufferPtr.getCPtr(bp), bp);
00035 }
00036
00037 public static void setG_boostDefaultNameSet(boolean value) {
00038 pkif_moduleJNI.g_boostDefaultNameSet_set(value);
00039 }
00040
00041 public static boolean getG_boostDefaultNameSet() {
00042 return pkif_moduleJNI.g_boostDefaultNameSet_get();
00043 }
00044
00045 public static CPKIFBufferPtr GetFileAsBuffer(String fullPathAndFileName) {
00046 return new CPKIFBufferPtr(pkif_moduleJNI.GetFileAsBuffer(fullPathAndFileName), true);
00047 }
00048
00049 public static SWIGTYPE_p_CMSVerificationStatus Make_CMSVerificationStatus() {
00050 long cPtr = pkif_moduleJNI.Make_CMSVerificationStatus();
00051 return (cPtr == 0) ? null : new SWIGTYPE_p_CMSVerificationStatus(cPtr, false);
00052 }
00053
00054 public static SWIGTYPE_p_PKIFCRYPTO__HASH_ALG Make_HASH_ALG() {
00055 long cPtr = pkif_moduleJNI.Make_HASH_ALG();
00056 return (cPtr == 0) ? null : new SWIGTYPE_p_PKIFCRYPTO__HASH_ALG(cPtr, false);
00057 }
00058
00059 public static SWIGTYPE_p_int Make_int() {
00060 long cPtr = pkif_moduleJNI.Make_int__SWIG_0();
00061 return (cPtr == 0) ? null : new SWIGTYPE_p_int(cPtr, false);
00062 }
00063
00064 public static SWIGTYPE_p_int Make_int(int i) {
00065 long cPtr = pkif_moduleJNI.Make_int__SWIG_1(i);
00066 return (cPtr == 0) ? null : new SWIGTYPE_p_int(cPtr, false);
00067 }
00068
00069 public static SWIGTYPE_p_RevocationStatus Make_RevocationStatus() {
00070 long cPtr = pkif_moduleJNI.Make_RevocationStatus();
00071 return (cPtr == 0) ? null : new SWIGTYPE_p_RevocationStatus(cPtr, false);
00072 }
00073
00074 public static void DecodeCertificate(CPKIFBufferPtr bp, CPKIFCertificatePtr cert) {
00075 pkif_moduleJNI.DecodeCertificate(CPKIFBufferPtr.getCPtr(bp), bp, CPKIFCertificatePtr.getCPtr(cert), cert);
00076 }
00077
00078 public static CMSVerificationStatus Get_CMSVerificationStatusValue(SWIGTYPE_p_CMSVerificationStatus s) {
00079 return CMSVerificationStatus.swigToEnum(pkif_moduleJNI.Get_CMSVerificationStatusValue(SWIGTYPE_p_CMSVerificationStatus.getCPtr(s)));
00080 }
00081
00082 public static HASH_ALG Get_HASH_ALG(SWIGTYPE_p_PKIFCRYPTO__HASH_ALG s) {
00083 return HASH_ALG.swigToEnum(pkif_moduleJNI.Get_HASH_ALG(SWIGTYPE_p_PKIFCRYPTO__HASH_ALG.getCPtr(s)));
00084 }
00085
00086 public static RevocationStatus Get_RevocationStatusValue(SWIGTYPE_p_RevocationStatus s) {
00087 return RevocationStatus.swigToEnum(pkif_moduleJNI.Get_RevocationStatusValue(SWIGTYPE_p_RevocationStatus.getCPtr(s)));
00088 }
00089
00090 public static int Get_IntValue(SWIGTYPE_p_int i) {
00091 return pkif_moduleJNI.Get_IntValue(SWIGTYPE_p_int.getCPtr(i));
00092 }
00093
00094 public static IPKIFRevocationStatus Get_IPKIFRevocationStatus(IPKIFColleaguePtr m) {
00095 long cPtr = pkif_moduleJNI.Get_IPKIFRevocationStatus(IPKIFColleaguePtr.getCPtr(m), m);
00096 return (cPtr == 0) ? null : new IPKIFRevocationStatus(cPtr, false);
00097 }
00098
00099 public static IPKIFPathBuild Get_IPKIFPathBuild(IPKIFColleaguePtr m) {
00100 long cPtr = pkif_moduleJNI.Get_IPKIFPathBuild(IPKIFColleaguePtr.getCPtr(m), m);
00101 return (cPtr == 0) ? null : new IPKIFPathBuild(cPtr, false);
00102 }
00103
00104 public static IPKIFPathValidate Get_IPKIFPathValidate(IPKIFColleaguePtr m) {
00105 long cPtr = pkif_moduleJNI.Get_IPKIFPathValidate(IPKIFColleaguePtr.getCPtr(m), m);
00106 return (cPtr == 0) ? null : new IPKIFPathValidate(cPtr, false);
00107 }
00108
00109 public static IPKIFPathBuildAndValidate Get_IPKIFPathBuildAndValidate(IPKIFColleaguePtr m) {
00110 long cPtr = pkif_moduleJNI.Get_IPKIFPathBuildAndValidate(IPKIFColleaguePtr.getCPtr(m), m);
00111 return (cPtr == 0) ? null : new IPKIFPathBuildAndValidate(cPtr, false);
00112 }
00113
00114 public static CPKIFRevocationStatusMediator2 Get_RevocationStatusMediator(IPKIFColleaguePtr m) {
00115 long cPtr = pkif_moduleJNI.Get_RevocationStatusMediator(IPKIFColleaguePtr.getCPtr(m), m);
00116 return (cPtr == 0) ? null : new CPKIFRevocationStatusMediator2(cPtr, false);
00117 }
00118
00119 public static CPKIFRevocationStatusMediator2Ptr Get_RevocationStatusMediatorPtr(IPKIFColleaguePtr m) {
00120 return new CPKIFRevocationStatusMediator2Ptr(pkif_moduleJNI.Get_RevocationStatusMediatorPtr(IPKIFColleaguePtr.getCPtr(m), m), true);
00121 }
00122
00123 public static CPKIFCacheMediator2 Get_CacheMediator(IPKIFColleaguePtr m) {
00124 long cPtr = pkif_moduleJNI.Get_CacheMediator(IPKIFColleaguePtr.getCPtr(m), m);
00125 return (cPtr == 0) ? null : new CPKIFCacheMediator2(cPtr, false);
00126 }
00127
00128 public static CPKIFCacheMediator2Ptr Get_CacheMediatorPtr(IPKIFColleaguePtr m) {
00129 return new CPKIFCacheMediator2Ptr(pkif_moduleJNI.Get_CacheMediatorPtr(IPKIFColleaguePtr.getCPtr(m), m), true);
00130 }
00131
00132 public static CPKIFCryptoMediator2 Get_CryptoMediator(IPKIFColleaguePtr m) {
00133 long cPtr = pkif_moduleJNI.Get_CryptoMediator(IPKIFColleaguePtr.getCPtr(m), m);
00134 return (cPtr == 0) ? null : new CPKIFCryptoMediator2(cPtr, false);
00135 }
00136
00137 public static CPKIFCryptoMediator2Ptr Get_CryptoMediatorPtr(IPKIFColleaguePtr m) {
00138 return new CPKIFCryptoMediator2Ptr(pkif_moduleJNI.Get_CryptoMediatorPtr(IPKIFColleaguePtr.getCPtr(m), m), true);
00139 }
00140
00141 public static IPKIFColleague Get_LDAPAsColleague(CPKIFLDAPRepository l) {
00142 long cPtr = pkif_moduleJNI.Get_LDAPAsColleague(CPKIFLDAPRepository.getCPtr(l), l);
00143 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00144 }
00145
00146 public static IPKIFColleague Get_OCSPCheckerColleague(CPKIFOCSPChecker l) {
00147 long cPtr = pkif_moduleJNI.Get_OCSPCheckerColleague(CPKIFOCSPChecker.getCPtr(l), l);
00148 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00149 }
00150
00151 public static CMSVerificationStatus GetStatusValue(SWIGTYPE_p_CMSVerificationStatus s) {
00152 return CMSVerificationStatus.swigToEnum(pkif_moduleJNI.GetStatusValue(SWIGTYPE_p_CMSVerificationStatus.getCPtr(s)));
00153 }
00154
00155 public static IPKIFDefaultKeyManagement Get_IPKIFDefaultKeyManagement(IPKIFColleaguePtr m) {
00156 long cPtr = pkif_moduleJNI.Get_IPKIFDefaultKeyManagement(IPKIFColleaguePtr.getCPtr(m), m);
00157 return (cPtr == 0) ? null : new IPKIFDefaultKeyManagement(cPtr, false);
00158 }
00159
00160 public static IPKIFColleague Get_SimpleRootStoreColleague(SimpleRootStore l) {
00161 long cPtr = pkif_moduleJNI.Get_SimpleRootStoreColleague(SimpleRootStore.getCPtr(l), l);
00162 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00163 }
00164
00165 public static IPKIFColleague Get_SimpleCertCacheColleague(SimpleCertCache l) {
00166 long cPtr = pkif_moduleJNI.Get_SimpleCertCacheColleague(SimpleCertCache.getCPtr(l), l);
00167 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00168 }
00169
00170 public static IPKIFColleague Get_SimpleCRLCacheColleague(SimpleCRLCache l) {
00171 long cPtr = pkif_moduleJNI.Get_SimpleCRLCacheColleague(SimpleCRLCache.getCPtr(l), l);
00172 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00173 }
00174
00175 public static CPKIFPathProcessingMediator2 Get_PathProcessingMediator(IPKIFColleaguePtr m) {
00176 long cPtr = pkif_moduleJNI.Get_PathProcessingMediator(IPKIFColleaguePtr.getCPtr(m), m);
00177 return (cPtr == 0) ? null : new CPKIFPathProcessingMediator2(cPtr, false);
00178 }
00179
00180 public static CPKIFPathProcessingMediator2Ptr Get_PathProcessingMediatorPtr(IPKIFColleaguePtr m) {
00181 return new CPKIFPathProcessingMediator2Ptr(pkif_moduleJNI.Get_PathProcessingMediatorPtr(IPKIFColleaguePtr.getCPtr(m), m), true);
00182 }
00183
00184 public static IPKIFColleague Get_CPKIFPathValidator2Colleague(CPKIFPathValidator2 l) {
00185 long cPtr = pkif_moduleJNI.Get_CPKIFPathValidator2Colleague(CPKIFPathValidator2.getCPtr(l), l);
00186 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00187 }
00188
00189 public static IPKIFColleague Get_CPKIFPathBuilder2Colleague(CPKIFPathBuilder2 l) {
00190 long cPtr = pkif_moduleJNI.Get_CPKIFPathBuilder2Colleague(CPKIFPathBuilder2.getCPtr(l), l);
00191 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00192 }
00193
00194 public static IPKIFColleague Get_CPKIFPathBuildAndValidateColleague(CPKIFPathBuildAndValidate l) {
00195 long cPtr = pkif_moduleJNI.Get_CPKIFPathBuildAndValidateColleague(CPKIFPathBuildAndValidate.getCPtr(l), l);
00196 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00197 }
00198
00199 public static IPKIFColleague Get_CPKIFX509CRLCheckerColleague(CPKIFX509CRLChecker l) {
00200 long cPtr = pkif_moduleJNI.Get_CPKIFX509CRLCheckerColleague(CPKIFX509CRLChecker.getCPtr(l), l);
00201 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00202 }
00203
00204 public static IPKIFColleague Get_CPKIFNSSRepositoryColleague(CPKIFNSSRepository l) {
00205 long cPtr = pkif_moduleJNI.Get_CPKIFNSSRepositoryColleague(CPKIFNSSRepository.getCPtr(l), l);
00206 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00207 }
00208
00209 public static IPKIFColleague Get_CPKIFNSSTrustStoreColleague(CPKIFNSSTrustStore l) {
00210 long cPtr = pkif_moduleJNI.Get_CPKIFNSSTrustStoreColleague(CPKIFNSSTrustStore.getCPtr(l), l);
00211 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00212 }
00213
00214 public static IPKIFColleague Get_CPKIFNSSCRLUpdateColleague(CPKIFNSSCRLUpdate l) {
00215 long cPtr = pkif_moduleJNI.Get_CPKIFNSSCRLUpdateColleague(CPKIFNSSCRLUpdate.getCPtr(l), l);
00216 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00217 }
00218
00219 public static IPKIFColleague Get_CPKIFNSSCertUpdateColleague(CPKIFNSSCertUpdate l) {
00220 long cPtr = pkif_moduleJNI.Get_CPKIFNSSCertUpdateColleague(CPKIFNSSCertUpdate.getCPtr(l), l);
00221 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00222 }
00223
00224 public static IPKIFColleague Get_CPKIFCryptoMediator2Mediator(CPKIFCryptoMediator2 l) {
00225 long cPtr = pkif_moduleJNI.Get_CPKIFCryptoMediator2Mediator(CPKIFCryptoMediator2.getCPtr(l), l);
00226 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00227 }
00228
00229 public static IPKIFColleague Get_CPKIFCacheMediator2Mediator(CPKIFCacheMediator2 l) {
00230 long cPtr = pkif_moduleJNI.Get_CPKIFCacheMediator2Mediator(CPKIFCacheMediator2.getCPtr(l), l);
00231 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00232 }
00233
00234 public static IPKIFColleague Get_CPKIFRevocationStatusMediator2Mediator(CPKIFRevocationStatusMediator2 l) {
00235 long cPtr = pkif_moduleJNI.Get_CPKIFRevocationStatusMediator2Mediator(CPKIFRevocationStatusMediator2.getCPtr(l), l);
00236 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00237 }
00238
00239 public static IPKIFColleague Get_CPKIFPathProcessingMediator2Mediator(CPKIFPathProcessingMediator2 l) {
00240 long cPtr = pkif_moduleJNI.Get_CPKIFPathProcessingMediator2Mediator(CPKIFPathProcessingMediator2.getCPtr(l), l);
00241 return (cPtr == 0) ? null : new IPKIFColleague(cPtr, false);
00242 }
00243
00244 public static CPKIFKeyUsagePtr Get_KeyUsageExtensionFromCert(CPKIFCertificatePtr cert) {
00245 return new CPKIFKeyUsagePtr(pkif_moduleJNI.Get_KeyUsageExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00246 }
00247
00248 public static CPKIFAuthorityKeyIdentifierPtr Get_AuthorityKeyIdentifierExtensionFromCert(CPKIFCertificatePtr cert) {
00249 return new CPKIFAuthorityKeyIdentifierPtr(pkif_moduleJNI.Get_AuthorityKeyIdentifierExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00250 }
00251
00252 public static CPKIFSubjectKeyIdentifierPtr Get_SubjectKeyIdentifierExtensionFromCert(CPKIFCertificatePtr cert) {
00253 return new CPKIFSubjectKeyIdentifierPtr(pkif_moduleJNI.Get_SubjectKeyIdentifierExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00254 }
00255
00256 public static CPKIFPrivateKeyUsagePtr Get_PrivateKeyUsageExtensionFromCert(CPKIFCertificatePtr cert) {
00257 return new CPKIFPrivateKeyUsagePtr(pkif_moduleJNI.Get_PrivateKeyUsageExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00258 }
00259
00260 public static CPKIFPolicyInformationSetPtr Get_PolicyInformationSetExtensionFromCert(CPKIFCertificatePtr cert) {
00261 return new CPKIFPolicyInformationSetPtr(pkif_moduleJNI.Get_PolicyInformationSetExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00262 }
00263
00264 public static CPKIFPolicyMappingsPtr Get_PolicyMappingsExtensionFromCert(CPKIFCertificatePtr cert) {
00265 return new CPKIFPolicyMappingsPtr(pkif_moduleJNI.Get_PolicyMappingsExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00266 }
00267
00268 public static CPKIFSubjectAltNamePtr Get_SubjectAltNameExtensionFromCert(CPKIFCertificatePtr cert) {
00269 return new CPKIFSubjectAltNamePtr(pkif_moduleJNI.Get_SubjectAltNameExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00270 }
00271
00272 public static CPKIFIssuerAltNamePtr Get_IssuerAltNameExtensionFromCert(CPKIFCertificatePtr cert) {
00273 return new CPKIFIssuerAltNamePtr(pkif_moduleJNI.Get_IssuerAltNameExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00274 }
00275
00276 public static CPKIFBasicConstraintsPtr Get_BasicConstraintsExtensionFromCert(CPKIFCertificatePtr cert) {
00277 return new CPKIFBasicConstraintsPtr(pkif_moduleJNI.Get_BasicConstraintsExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00278 }
00279
00280 public static CPKIFNameConstraintsPtr Get_NameConstraintsExtensionFromCert(CPKIFCertificatePtr cert) {
00281 return new CPKIFNameConstraintsPtr(pkif_moduleJNI.Get_NameConstraintsExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00282 }
00283
00284 public static CPKIFPolicyConstraintsPtr Get_PolicyConstraintsExtensionFromCert(CPKIFCertificatePtr cert) {
00285 return new CPKIFPolicyConstraintsPtr(pkif_moduleJNI.Get_PolicyConstraintsExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00286 }
00287
00288 public static CPKIFExtendedKeyUsagePtr Get_ExtendedKeyUsageExtensionFromCert(CPKIFCertificatePtr cert) {
00289 return new CPKIFExtendedKeyUsagePtr(pkif_moduleJNI.Get_ExtendedKeyUsageExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00290 }
00291
00292 public static CPKIFCRLDistributionPointsPtr Get_CRLDistributionPointsExtensionFromCert(CPKIFCertificatePtr cert) {
00293 return new CPKIFCRLDistributionPointsPtr(pkif_moduleJNI.Get_CRLDistributionPointsExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00294 }
00295
00296 public static CPKIFInhibitAnyPolicyPtr Get_InhibitAnyPolicyExtensionFromCert(CPKIFCertificatePtr cert) {
00297 return new CPKIFInhibitAnyPolicyPtr(pkif_moduleJNI.Get_InhibitAnyPolicyExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00298 }
00299
00300 public static CPKIFAuthorityInfoAccessPtr Get_AuthorityInfoAccessExtensionFromCert(CPKIFCertificatePtr cert) {
00301 return new CPKIFAuthorityInfoAccessPtr(pkif_moduleJNI.Get_AuthorityInfoAccessExtensionFromCert(CPKIFCertificatePtr.getCPtr(cert), cert), true);
00302 }
00303
00304 public static CPKIFAuthorityKeyIdentifierPtr Get_AuthorityKeyIdentifierExtensionFromCRL(CPKIFCRLPtr crl) {
00305 return new CPKIFAuthorityKeyIdentifierPtr(pkif_moduleJNI.Get_AuthorityKeyIdentifierExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00306 }
00307
00308 public static CPKIFCRLNumberPtr Get_CRLNumberExtensionFromCRL(CPKIFCRLPtr crl) {
00309 return new CPKIFCRLNumberPtr(pkif_moduleJNI.Get_CRLNumberExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00310 }
00311
00312 public static CPKIFIssuerAltNamePtr Get_IssuerAltNameExtensionFromCRL(CPKIFCRLPtr crl) {
00313 return new CPKIFIssuerAltNamePtr(pkif_moduleJNI.Get_IssuerAltNameExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00314 }
00315
00316 public static CPKIFDeltaCRLIndicatorPtr Get_DeltaCRLIndicatorExtensionFromCRL(CPKIFCRLPtr crl) {
00317 return new CPKIFDeltaCRLIndicatorPtr(pkif_moduleJNI.Get_DeltaCRLIndicatorExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00318 }
00319
00320 public static CPKIFIssuingDistributionPointPtr Get_IssuingDistributionPointExtensionFromCRL(CPKIFCRLPtr crl) {
00321 return new CPKIFIssuingDistributionPointPtr(pkif_moduleJNI.Get_IssuingDistributionPointExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00322 }
00323
00324 public static CPKIFFreshestCRLPtr Get_FreshestCRLExtensionFromCRL(CPKIFCRLPtr crl) {
00325 return new CPKIFFreshestCRLPtr(pkif_moduleJNI.Get_FreshestCRLExtensionFromCRL(CPKIFCRLPtr.getCPtr(crl), crl), true);
00326 }
00327
00328 public static CPKIFHoldInstructionCodePtr Get_HoldInstructionCodeExtensionFromCRLEntry(CPKIFCRLEntryPtr crlEntry) {
00329 return new CPKIFHoldInstructionCodePtr(pkif_moduleJNI.Get_HoldInstructionCodeExtensionFromCRLEntry(CPKIFCRLEntryPtr.getCPtr(crlEntry), crlEntry), true);
00330 }
00331
00332 public static CPKIFInvalidityDatePtr Get_InvalidityDateExtensionFromCRLEntry(CPKIFCRLEntryPtr crlEntry) {
00333 return new CPKIFInvalidityDatePtr(pkif_moduleJNI.Get_InvalidityDateExtensionFromCRLEntry(CPKIFCRLEntryPtr.getCPtr(crlEntry), crlEntry), true);
00334 }
00335
00336 public static CPKIFCertificateIssuerPtr Get_CertificateIssuerFromCRLEntry(CPKIFCRLEntryPtr crlEntry) {
00337 return new CPKIFCertificateIssuerPtr(pkif_moduleJNI.Get_CertificateIssuerFromCRLEntry(CPKIFCRLEntryPtr.getCPtr(crlEntry), crlEntry), true);
00338 }
00339
00340 public static CPKIFContentTypeAttributePtr Get_UnsignedContentTypeAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00341 return new CPKIFContentTypeAttributePtr(pkif_moduleJNI.Get_UnsignedContentTypeAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00342 }
00343
00344 public static CPKIFMessageDigestAttributePtr Get_UnsignedMessageDigestAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00345 return new CPKIFMessageDigestAttributePtr(pkif_moduleJNI.Get_UnsignedMessageDigestAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00346 }
00347
00348 public static CPKIFSigningTimeAttributePtr Get_UnsignedSigningTimeAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00349 return new CPKIFSigningTimeAttributePtr(pkif_moduleJNI.Get_UnsignedSigningTimeAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00350 }
00351
00352 public static CPKIFTimestampAttributePtr Get_UnsignedTimestampAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00353 return new CPKIFTimestampAttributePtr(pkif_moduleJNI.Get_UnsignedTimestampAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00354 }
00355
00356 public static CPKIFCountersignatureAttributePtr Get_UnsignedCountersignatureAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00357 return new CPKIFCountersignatureAttributePtr(pkif_moduleJNI.Get_UnsignedCountersignatureAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00358 }
00359
00360 public static CPKIFContentTypeAttributePtr Get_SignedContentTypeAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00361 return new CPKIFContentTypeAttributePtr(pkif_moduleJNI.Get_SignedContentTypeAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00362 }
00363
00364 public static CPKIFMessageDigestAttributePtr Get_SignedMessageDigestAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00365 return new CPKIFMessageDigestAttributePtr(pkif_moduleJNI.Get_SignedMessageDigestAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00366 }
00367
00368 public static CPKIFSigningTimeAttributePtr Get_SignedSigningTimeAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00369 return new CPKIFSigningTimeAttributePtr(pkif_moduleJNI.Get_SignedSigningTimeAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00370 }
00371
00372 public static CPKIFTimestampAttributePtr Get_SignedTimestampAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00373 return new CPKIFTimestampAttributePtr(pkif_moduleJNI.Get_SignedTimestampAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00374 }
00375
00376 public static CPKIFCountersignatureAttributePtr Get_SignedCountersignatureAttributeFromSignerInfo(CPKIFSignerInfoPtr si) {
00377 return new CPKIFCountersignatureAttributePtr(pkif_moduleJNI.Get_SignedCountersignatureAttributeFromSignerInfo(CPKIFSignerInfoPtr.getCPtr(si), si), true);
00378 }
00379
00380 public static CPKIFAttributePtr Cast_CPKIFTimestampAttributePtrToCPKIFAttributePtr(CPKIFTimestampAttributePtr tsa) {
00381 return new CPKIFAttributePtr(pkif_moduleJNI.Cast_CPKIFTimestampAttributePtrToCPKIFAttributePtr(CPKIFTimestampAttributePtr.getCPtr(tsa), tsa), true);
00382 }
00383
00384 public static CPKIFAttributePtr Cast_CPKIFSigningTimeAttributePtrToCPKIFAttributePtr(CPKIFSigningTimeAttributePtr tsa) {
00385 return new CPKIFAttributePtr(pkif_moduleJNI.Cast_CPKIFSigningTimeAttributePtrToCPKIFAttributePtr(CPKIFSigningTimeAttributePtr.getCPtr(tsa), tsa), true);
00386 }
00387
00388 public static CPKIFAttributePtr Cast_CPKIFMessageDigestAttributePtrToCPKIFAttributePtr(CPKIFMessageDigestAttributePtr tsa) {
00389 return new CPKIFAttributePtr(pkif_moduleJNI.Cast_CPKIFMessageDigestAttributePtrToCPKIFAttributePtr(CPKIFMessageDigestAttributePtr.getCPtr(tsa), tsa), true);
00390 }
00391
00392 public static CPKIFAttributePtr Cast_CPKIFCountersignatureAttributePtrToCPKIFAttributePtr(CPKIFCountersignatureAttributePtr tsa) {
00393 return new CPKIFAttributePtr(pkif_moduleJNI.Cast_CPKIFCountersignatureAttributePtrToCPKIFAttributePtr(CPKIFCountersignatureAttributePtr.getCPtr(tsa), tsa), true);
00394 }
00395
00396 public static CPKIFAttributePtr Cast_CPKIFContentTypeAttributePtrToCPKIFAttributePtr(CPKIFContentTypeAttributePtr tsa) {
00397 return new CPKIFAttributePtr(pkif_moduleJNI.Cast_CPKIFContentTypeAttributePtrToCPKIFAttributePtr(CPKIFContentTypeAttributePtr.getCPtr(tsa), tsa), true);
00398 }
00399
00400 public static CPKIFKeyUsagePtr Get_KeyUsageExtension(CPKIFX509ExtensionPtr ext) {
00401 return new CPKIFKeyUsagePtr(pkif_moduleJNI.Get_KeyUsageExtension(CPKIFX509ExtensionPtr.getCPtr(ext), ext), true);
00402 }
00403
00404 public static CPKIFFuncStoragePtr make_EmptyCPKIFFuncStoragePtr() {
00405 return new CPKIFFuncStoragePtr(pkif_moduleJNI.make_EmptyCPKIFFuncStoragePtr(), true);
00406 }
00407
00408 public static void Delete_IPKIFRawCryptContext(IPKIFRawCryptContext i) {
00409 pkif_moduleJNI.Delete_IPKIFRawCryptContext(IPKIFRawCryptContext.getCPtr(i), i);
00410 }
00411
00412 public static void Delete_IPKIFHashContext(IPKIFHashContext i) {
00413 pkif_moduleJNI.Delete_IPKIFHashContext(IPKIFHashContext.getCPtr(i), i);
00414 }
00415
00416 public static void Delete_IPKIFCryptContext(IPKIFCryptContext i) {
00417 pkif_moduleJNI.Delete_IPKIFCryptContext(IPKIFCryptContext.getCPtr(i), i);
00418 }
00419
00420 public static void Delete_IPKIFMediator(IPKIFColleague i) {
00421 pkif_moduleJNI.Delete_IPKIFMediator(IPKIFColleague.getCPtr(i), i);
00422 }
00423
00424 public static void Delete_IPKIFColleague(IPKIFColleague i) {
00425 pkif_moduleJNI.Delete_IPKIFColleague(IPKIFColleague.getCPtr(i), i);
00426 }
00427
00428 public static IPKIFColleaguePtr make_NewCPKIFCryptoMediator2(boolean b) {
00429 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFCryptoMediator2(b), true);
00430 }
00431
00432 public static IPKIFColleaguePtr make_NewCPKIFCacheMediator2(boolean b) {
00433 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFCacheMediator2(b), true);
00434 }
00435
00436 public static IPKIFColleaguePtr make_NewCPKIFRevocationStatusMediator2(boolean b) {
00437 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFRevocationStatusMediator2(b), true);
00438 }
00439
00440 public static IPKIFColleaguePtr make_NewCPKIFPathProcessingMediator2(boolean b) {
00441 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFPathProcessingMediator2(b), true);
00442 }
00443
00444 public static IPKIFColleaguePtr make_NewCPKIFNSS(String dbName) {
00445 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSS(dbName), true);
00446 }
00447
00448 public static IPKIFColleaguePtr make_NewCPKIFNSSRaw() {
00449 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSSRaw(), true);
00450 }
00451
00452 public static IPKIFColleaguePtr make_NewCPKIFNSSRepository(String dbName) {
00453 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSSRepository(dbName), true);
00454 }
00455
00456 public static IPKIFColleaguePtr make_NewCPKIFNSSTrustStore(String dbName) {
00457 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSSTrustStore(dbName), true);
00458 }
00459
00460 public static IPKIFColleaguePtr make_NewCPKIFPathValidator2() {
00461 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFPathValidator2(), true);
00462 }
00463
00464 public static IPKIFColleaguePtr make_NewCPKIFPathBuilder2() {
00465 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFPathBuilder2(), true);
00466 }
00467
00468 public static IPKIFColleaguePtr make_NewCPKIFPathBuildAndValidate() {
00469 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFPathBuildAndValidate(), true);
00470 }
00471
00472 public static IPKIFColleaguePtr make_NewCPKIFOCSPChecker() {
00473 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFOCSPChecker(), true);
00474 }
00475
00476 public static IPKIFColleaguePtr make_NewCPKIFX509CRLChecker() {
00477 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFX509CRLChecker(), true);
00478 }
00479
00480 public static IPKIFColleaguePtr make_NewSimpleRootStore() {
00481 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewSimpleRootStore(), true);
00482 }
00483
00484 public static IPKIFColleaguePtr make_NewSimpleCertCache() {
00485 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewSimpleCertCache(), true);
00486 }
00487
00488 public static IPKIFColleaguePtr make_NewSimpleCRLCache() {
00489 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewSimpleCRLCache(), true);
00490 }
00491
00492 public static IPKIFColleaguePtr make_NewCPKIFLDAPRepository() {
00493 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFLDAPRepository(), true);
00494 }
00495
00496 public static IPKIFColleaguePtr make_NewCPKIFNSSCRLUpdate(String dbName) {
00497 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSSCRLUpdate(dbName), true);
00498 }
00499
00500 public static IPKIFColleaguePtr make_NewCPKIFNSSCertUpdate(String dbName) {
00501 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFNSSCertUpdate(dbName), true);
00502 }
00503
00504 public static IPKIFColleaguePtr make_NewCPKIFCRLDPRetrieval() {
00505 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFCRLDPRetrieval(), true);
00506 }
00507
00508 public static IPKIFColleaguePtr make_NewCPKIFCryptoPP() {
00509 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFCryptoPP(), true);
00510 }
00511
00512 public static IPKIFColleaguePtr make_NewCPKIFCryptoPPRaw() {
00513 return new IPKIFColleaguePtr(pkif_moduleJNI.make_NewCPKIFCryptoPPRaw(), true);
00514 }
00515
00516 public static CPKIFCryptoPPPtr cast_ToCPKIFCryptoPP(IPKIFColleaguePtr col) {
00517 return new CPKIFCryptoPPPtr(pkif_moduleJNI.cast_ToCPKIFCryptoPP(IPKIFColleaguePtr.getCPtr(col), col), true);
00518 }
00519
00520 public static CPKIFCryptoPPRawPtr cast_ToCPKIFCryptoPPRaw(IPKIFColleaguePtr col) {
00521 return new CPKIFCryptoPPRawPtr(pkif_moduleJNI.cast_ToCPKIFCryptoPPRaw(IPKIFColleaguePtr.getCPtr(col), col), true);
00522 }
00523
00524 public static CPKIFNSSPtr cast_ToCPKIFNSS(IPKIFColleaguePtr col) {
00525 return new CPKIFNSSPtr(pkif_moduleJNI.cast_ToCPKIFNSS(IPKIFColleaguePtr.getCPtr(col), col), true);
00526 }
00527
00528 public static CPKIFNSSRawPtr cast_ToCPKIFNSSRaw(IPKIFColleaguePtr col) {
00529 return new CPKIFNSSRawPtr(pkif_moduleJNI.cast_ToCPKIFNSSRaw(IPKIFColleaguePtr.getCPtr(col), col), true);
00530 }
00531
00532 public static CPKIFNSSRepositoryPtr cast_ToCPKIFNSSRepository(IPKIFColleaguePtr col) {
00533 return new CPKIFNSSRepositoryPtr(pkif_moduleJNI.cast_ToCPKIFNSSRepository(IPKIFColleaguePtr.getCPtr(col), col), true);
00534 }
00535
00536 public static CPKIFNSSTrustStorePtr cast_ToCPKIFNSSTrustStore(IPKIFColleaguePtr col) {
00537 return new CPKIFNSSTrustStorePtr(pkif_moduleJNI.cast_ToCPKIFNSSTrustStore(IPKIFColleaguePtr.getCPtr(col), col), true);
00538 }
00539
00540 public static CPKIFPathValidator2Ptr cast_ToCPKIFPathValidator2(IPKIFColleaguePtr col) {
00541 return new CPKIFPathValidator2Ptr(pkif_moduleJNI.cast_ToCPKIFPathValidator2(IPKIFColleaguePtr.getCPtr(col), col), true);
00542 }
00543
00544 public static CPKIFPathBuilder2Ptr cast_ToCPKIFPathBuilder2(IPKIFColleaguePtr col) {
00545 return new CPKIFPathBuilder2Ptr(pkif_moduleJNI.cast_ToCPKIFPathBuilder2(IPKIFColleaguePtr.getCPtr(col), col), true);
00546 }
00547
00548 public static CPKIFPathBuildAndValidatePtr cast_ToCPKIFPathBuildAndValidate(IPKIFColleaguePtr col) {
00549 return new CPKIFPathBuildAndValidatePtr(pkif_moduleJNI.cast_ToCPKIFPathBuildAndValidate(IPKIFColleaguePtr.getCPtr(col), col), true);
00550 }
00551
00552 public static CPKIFOCSPCheckerPtr cast_ToCPKIFOCSPChecker(IPKIFColleaguePtr col) {
00553 return new CPKIFOCSPCheckerPtr(pkif_moduleJNI.cast_ToCPKIFOCSPChecker(IPKIFColleaguePtr.getCPtr(col), col), true);
00554 }
00555
00556 public static CPKIFX509CRLCheckerPtr cast_ToCPKIFX509CRLChecker(IPKIFColleaguePtr col) {
00557 return new CPKIFX509CRLCheckerPtr(pkif_moduleJNI.cast_ToCPKIFX509CRLChecker(IPKIFColleaguePtr.getCPtr(col), col), true);
00558 }
00559
00560 public static CPKIFLDAPRepositoryPtr cast_ToCPKIFLDAPRepository(IPKIFColleaguePtr col) {
00561 return new CPKIFLDAPRepositoryPtr(pkif_moduleJNI.cast_ToCPKIFLDAPRepository(IPKIFColleaguePtr.getCPtr(col), col), true);
00562 }
00563
00564 public static SimpleRootStorePtr cast_ToSimpleRootStore(IPKIFColleaguePtr col) {
00565 return new SimpleRootStorePtr(pkif_moduleJNI.cast_ToSimpleRootStore(IPKIFColleaguePtr.getCPtr(col), col), true);
00566 }
00567
00568 public static SimpleCertCachePtr cast_ToSimpleCertCache(IPKIFColleaguePtr col) {
00569 return new SimpleCertCachePtr(pkif_moduleJNI.cast_ToSimpleCertCache(IPKIFColleaguePtr.getCPtr(col), col), true);
00570 }
00571
00572 public static SimpleCRLCachePtr cast_ToSimpleCRLCache(IPKIFColleaguePtr col) {
00573 return new SimpleCRLCachePtr(pkif_moduleJNI.cast_ToSimpleCRLCache(IPKIFColleaguePtr.getCPtr(col), col), true);
00574 }
00575
00576 public static CPKIFNSSCRLUpdatePtr cast_ToCPKIFNSSCRLUpdate(IPKIFColleaguePtr col) {
00577 return new CPKIFNSSCRLUpdatePtr(pkif_moduleJNI.cast_ToCPKIFNSSCRLUpdate(IPKIFColleaguePtr.getCPtr(col), col), true);
00578 }
00579
00580 public static CPKIFNSSCertUpdatePtr cast_ToCPKIFNSSCertUpdate(IPKIFColleaguePtr col) {
00581 return new CPKIFNSSCertUpdatePtr(pkif_moduleJNI.cast_ToCPKIFNSSCertUpdate(IPKIFColleaguePtr.getCPtr(col), col), true);
00582 }
00583
00584 public static CPKIFCryptoMediator2Ptr cast_ToCPKIFCryptoMediator2(IPKIFColleaguePtr col) {
00585 return new CPKIFCryptoMediator2Ptr(pkif_moduleJNI.cast_ToCPKIFCryptoMediator2(IPKIFColleaguePtr.getCPtr(col), col), true);
00586 }
00587
00588 public static CPKIFCacheMediator2Ptr cast_ToCPKIFCacheMediator2(IPKIFColleaguePtr col) {
00589 return new CPKIFCacheMediator2Ptr(pkif_moduleJNI.cast_ToCPKIFCacheMediator2(IPKIFColleaguePtr.getCPtr(col), col), true);
00590 }
00591
00592 public static CPKIFRevocationStatusMediator2Ptr cast_ToCPKIFRevocationStatusMediator2(IPKIFColleaguePtr col) {
00593 return new CPKIFRevocationStatusMediator2Ptr(pkif_moduleJNI.cast_ToCPKIFRevocationStatusMediator2(IPKIFColleaguePtr.getCPtr(col), col), true);
00594 }
00595
00596 public static CPKIFPathProcessingMediator2Ptr cast_ToCPKIFPathProcessingMediator2(IPKIFColleaguePtr col) {
00597 return new CPKIFPathProcessingMediator2Ptr(pkif_moduleJNI.cast_ToCPKIFPathProcessingMediator2(IPKIFColleaguePtr.getCPtr(col), col), true);
00598 }
00599
00600 public static CPKIFCRLDPRetrievalPtr cast_ToCPKIFCRLDPRetrieval(IPKIFColleaguePtr col) {
00601 return new CPKIFCRLDPRetrievalPtr(pkif_moduleJNI.cast_ToCPKIFCRLDPRetrieval(IPKIFColleaguePtr.getCPtr(col), col), true);
00602 }
00603
00604 public static String GetValidationResultsLog(CPKIFPathValidationResultsPtr valResults, CPKIFCertificatePathPtr path, String appInfo) {
00605 return pkif_moduleJNI.GetValidationResultsLog__SWIG_0(CPKIFPathValidationResultsPtr.getCPtr(valResults), valResults, CPKIFCertificatePathPtr.getCPtr(path), path, appInfo);
00606 }
00607
00608 public static String GetValidationResultsLog(CPKIFPathValidationResults valResults, CPKIFCertificatePath path, String appInfo) {
00609 return pkif_moduleJNI.GetValidationResultsLog__SWIG_1(CPKIFPathValidationResults.getCPtr(valResults), valResults, CPKIFCertificatePath.getCPtr(path), path, appInfo);
00610 }
00611
00612 public static CPKIFCRLInfoPtr cast_ToCPKIFCRLInfoPtr(IPKIFRevSourceInfoPtr rsip) {
00613 return new CPKIFCRLInfoPtr(pkif_moduleJNI.cast_ToCPKIFCRLInfoPtr(IPKIFRevSourceInfoPtr.getCPtr(rsip), rsip), true);
00614 }
00615
00616 public static CPKIFOCSPInfoPtr cast_ToCPKIFOCSPInfoPtr(IPKIFRevSourceInfoPtr rsip) {
00617 return new CPKIFOCSPInfoPtr(pkif_moduleJNI.cast_ToCPKIFOCSPInfoPtr(IPKIFRevSourceInfoPtr.getCPtr(rsip), rsip), true);
00618 }
00619
00620 public static SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void GetKeyUsageChecker_AnyEE() {
00621 long cPtr = pkif_moduleJNI.GetKeyUsageChecker_AnyEE();
00622 return (cPtr == 0) ? null : new SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void(cPtr, false);
00623 }
00624
00625 public static SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void GetEKUChecker_Timestamp() {
00626 long cPtr = pkif_moduleJNI.GetEKUChecker_Timestamp();
00627 return (cPtr == 0) ? null : new SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void(cPtr, false);
00628 }
00629
00630 public static SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void GetEKUChecker_OcspSigning() {
00631 long cPtr = pkif_moduleJNI.GetEKUChecker_OcspSigning();
00632 return (cPtr == 0) ? null : new SWIGTYPE_p_f_r_q_const__boost__shared_ptr__CPKIFCertificateNodeEntry___r_CPKIFPathValidationResults_enum_CertificateType__void(cPtr, false);
00633 }
00634
00635 public static CPKIFTrustRoot cast_ToCPKIFTrustRoot(IPKIFTrustAnchorPtr root) {
00636 long cPtr = pkif_moduleJNI.cast_ToCPKIFTrustRoot(IPKIFTrustAnchorPtr.getCPtr(root), root);
00637 return (cPtr == 0) ? null : new CPKIFTrustRoot(cPtr, false);
00638 }
00639
00640 public static IPKIFTrustAnchorPtr cast_ToIPKIFTrustAnchorPtr(CPKIFTrustRootPtr root) {
00641 return new IPKIFTrustAnchorPtr(pkif_moduleJNI.cast_ToIPKIFTrustAnchorPtr(CPKIFTrustRootPtr.getCPtr(root), root), true);
00642 }
00643
00644 public static void sp_enable_shared_from_this() {
00645 pkif_moduleJNI.sp_enable_shared_from_this();
00646 }
00647
00648 public static SWIGTYPE_p_CPKIFSynonymousSourceStorePtr make_CPKIFSynonymousSourceStorePtr() {
00649 return new SWIGTYPE_p_CPKIFSynonymousSourceStorePtr(pkif_moduleJNI.make_CPKIFSynonymousSourceStorePtr(), true);
00650 }
00651
00652 public static CPKIFCryptoMediator2Ptr make_CPKIFCryptoMediator2Ptr() {
00653 return new CPKIFCryptoMediator2Ptr(pkif_moduleJNI.make_CPKIFCryptoMediator2Ptr(), true);
00654 }
00655
00656 public static IPKIFCryptoRawOperations GetPlatformCryptoRaw() {
00657 long cPtr = pkif_moduleJNI.GetPlatformCryptoRaw();
00658 return (cPtr == 0) ? null : new IPKIFCryptoRawOperations(cPtr, false);
00659 }
00660
00661 public static IPKIFCryptoMisc GetPlatformCryptoMisc() {
00662 long cPtr = pkif_moduleJNI.GetPlatformCryptoMisc();
00663 return (cPtr == 0) ? null : new IPKIFCryptoMisc(cPtr, false);
00664 }
00665
00666 public static IPKIFColleaguePtr MakeDefaultKeyIDColleague() {
00667 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultKeyIDColleague(), true);
00668 }
00669
00670 public static IPKIFColleaguePtr MakeDefaultRawColleague() {
00671 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultRawColleague(), true);
00672 }
00673
00674 public static void ShutdownCrypto() {
00675 pkif_moduleJNI.ShutdownCrypto();
00676 }
00677
00678 public static String GetCurrentNSSDBDir() {
00679 return pkif_moduleJNI.GetCurrentNSSDBDir();
00680 }
00681
00682 public static boolean IsNSSDBInitialized() {
00683 return pkif_moduleJNI.IsNSSDBInitialized();
00684 }
00685
00686 public static CPKIFBufferPtr WrapSymmKey(CPKIFKeyMaterialPtr kek, CPKIFKeyMaterialPtr key, IPKIFCryptoRawOperations crypto) {
00687 return new CPKIFBufferPtr(pkif_moduleJNI.WrapSymmKey__SWIG_0(CPKIFKeyMaterialPtr.getCPtr(kek), kek, CPKIFKeyMaterialPtr.getCPtr(key), key, IPKIFCryptoRawOperations.getCPtr(crypto), crypto), true);
00688 }
00689
00690 public static CPKIFBufferPtr WrapSymmKey(CPKIFKeyMaterialPtr kek, CPKIFKeyMaterialPtr key) {
00691 return new CPKIFBufferPtr(pkif_moduleJNI.WrapSymmKey__SWIG_1(CPKIFKeyMaterialPtr.getCPtr(kek), kek, CPKIFKeyMaterialPtr.getCPtr(key), key), true);
00692 }
00693
00694 public static CPKIFKeyMaterialPtr UnwrapSymmKey(CPKIFKeyMaterialPtr kek, CPKIFBufferPtr key, IPKIFCryptoRawOperations crypto) {
00695 return new CPKIFKeyMaterialPtr(pkif_moduleJNI.UnwrapSymmKey(CPKIFKeyMaterialPtr.getCPtr(kek), kek, CPKIFBufferPtr.getCPtr(key), key, IPKIFCryptoRawOperations.getCPtr(crypto), crypto), true);
00696 }
00697
00698 public static CPKIFKeyMaterialPtr make_CPKIFKeyMaterialPtr() {
00699 return new CPKIFKeyMaterialPtr(pkif_moduleJNI.make_CPKIFKeyMaterialPtr(), true);
00700 }
00701
00702 public static CPKIFNSSPtr make_CPKIFNSSPtr() {
00703 return new CPKIFNSSPtr(pkif_moduleJNI.make_CPKIFNSSPtr(), true);
00704 }
00705
00706 public static CPKIFNSSRawPtr make_CPKIFNSSRawPtr() {
00707 return new CPKIFNSSRawPtr(pkif_moduleJNI.make_CPKIFNSSRawPtr(), true);
00708 }
00709
00710 public static CPKIFCryptoPPPtr make_CPKIFCryptoPPPtr() {
00711 return new CPKIFCryptoPPPtr(pkif_moduleJNI.make_CPKIFCryptoPPPtr(), true);
00712 }
00713
00714 public static CPKIFCryptoPPRawPtr make_CPKIFCryptoPPRawPtr() {
00715 return new CPKIFCryptoPPRawPtr(pkif_moduleJNI.make_CPKIFCryptoPPRawPtr(), true);
00716 }
00717
00718 public static void FindErrorAndSetOnResults(CPKIFCertificatePath path, CPKIFPathValidationResults results) {
00719 pkif_moduleJNI.FindErrorAndSetOnResults(CPKIFCertificatePath.getCPtr(path), path, CPKIFPathValidationResults.getCPtr(results), results);
00720 }
00721
00722 public static boolean PathSigChecker(CPKIFCertificatePath path, IPKIFCryptoRawOperations crypto, IPKIFCryptoMisc cryptoMisc, CPKIFPathValidationResults results) {
00723 return pkif_moduleJNI.PathSigChecker(CPKIFCertificatePath.getCPtr(path), path, IPKIFCryptoRawOperations.getCPtr(crypto), crypto, IPKIFCryptoMisc.getCPtr(cryptoMisc), cryptoMisc, CPKIFPathValidationResults.getCPtr(results), results);
00724 }
00725
00726 public static CPKIFBuilderStatisticsPtr make_CPKIFBuilderStatisticsPtr() {
00727 return new CPKIFBuilderStatisticsPtr(pkif_moduleJNI.make_CPKIFBuilderStatisticsPtr(), true);
00728 }
00729
00730 public static CPKIFCertificatePathStatePtr make_CPKIFCertificatePathStatePtr() {
00731 return new CPKIFCertificatePathStatePtr(pkif_moduleJNI.make_CPKIFCertificatePathStatePtr(), true);
00732 }
00733
00734 public static CPKIFPathProcessingMediator2Ptr make_CPKIFPathProcessingMediator2Ptr() {
00735 return new CPKIFPathProcessingMediator2Ptr(pkif_moduleJNI.make_CPKIFPathProcessingMediator2Ptr(), true);
00736 }
00737
00738 public static CPKIFRevocationStatusMediator2Ptr make_CPKIFRevocationStatusMediator2Ptr() {
00739 return new CPKIFRevocationStatusMediator2Ptr(pkif_moduleJNI.make_CPKIFRevocationStatusMediator2Ptr(), true);
00740 }
00741
00742 public static CPKIFPathValidationResultsPtr make_CPKIFPathValidationResultsPtr() {
00743 return new CPKIFPathValidationResultsPtr(pkif_moduleJNI.make_CPKIFPathValidationResultsPtr(), true);
00744 }
00745
00746 public static CPKIFCertificateNodeEntryPtr make_CPKIFCertificateNodeEntryPtr() {
00747 return new CPKIFCertificateNodeEntryPtr(pkif_moduleJNI.make_CPKIFCertificateNodeEntryPtr(), true);
00748 }
00749
00750 public static CPKIFCertificateNodeListPtr make_CPKIFCertificateNodeListPtr() {
00751 return new CPKIFCertificateNodeListPtr(pkif_moduleJNI.make_CPKIFCertificateNodeListPtr(), true);
00752 }
00753
00754 public static CPKIFCertificatePathPtr make_CPKIFCertificatePathPtr() {
00755 return new CPKIFCertificatePathPtr(pkif_moduleJNI.make_CPKIFCertificatePathPtr(), true);
00756 }
00757
00758 public static CPKIFCertStatusPtr make_CPKIFCertStatusPtr() {
00759 return new CPKIFCertStatusPtr(pkif_moduleJNI.make_CPKIFCertStatusPtr(), true);
00760 }
00761
00762 public static CPKIFCRLInfoPtr make_CPKIFCRLInfoPtr() {
00763 return new CPKIFCRLInfoPtr(pkif_moduleJNI.make_CPKIFCRLInfoPtr(), true);
00764 }
00765
00766 public static CPKIFFuncStoragePtr make_Null_CPKIFFuncStoragePtr() {
00767 return new CPKIFFuncStoragePtr(pkif_moduleJNI.make_Null_CPKIFFuncStoragePtr(), true);
00768 }
00769
00770 public static CPKIFCRLNodeEntryPtr make_CPKIFCRLNodeEntryPtr() {
00771 return new CPKIFCRLNodeEntryPtr(pkif_moduleJNI.make_CPKIFCRLNodeEntryPtr(), true);
00772 }
00773
00774 public static CPKIFCRLNodeListPtr make_CPKIFCRLNodeListPtr() {
00775 return new CPKIFCRLNodeListPtr(pkif_moduleJNI.make_CPKIFCRLNodeListPtr(), true);
00776 }
00777
00778 public static CPKIFPathBuildAndValidatePtr make_CPKIFPathBuildAndValidatePtr() {
00779 return new CPKIFPathBuildAndValidatePtr(pkif_moduleJNI.make_CPKIFPathBuildAndValidatePtr(), true);
00780 }
00781
00782 public static CPKIFPathBuilder2Ptr make_CPKIFPathBuilder2Ptr() {
00783 return new CPKIFPathBuilder2Ptr(pkif_moduleJNI.make_CPKIFPathBuilder2Ptr(), true);
00784 }
00785
00786 public static CPKIFPathSettingsPtr make_CPKIFPathSettingsPtr() {
00787 return new CPKIFPathSettingsPtr(pkif_moduleJNI.make_CPKIFPathSettingsPtr(), true);
00788 }
00789
00790 public static CPKIFPathValidator2Ptr make_CPKIFPathValidator2Ptr() {
00791 return new CPKIFPathValidator2Ptr(pkif_moduleJNI.make_CPKIFPathValidator2Ptr(), true);
00792 }
00793
00794 public static CPKIFTrustRootPtr make_CPKIFTrustRootPtr() {
00795 return new CPKIFTrustRootPtr(pkif_moduleJNI.make_CPKIFTrustRootPtr(), true);
00796 }
00797
00798 public static CPKIFX509CRLCheckerPtr make_CPKIFX509CRLCheckerPtr() {
00799 return new CPKIFX509CRLCheckerPtr(pkif_moduleJNI.make_CPKIFX509CRLCheckerPtr(), true);
00800 }
00801
00802 public static RevocationSourcePtr make_RevocationSourcePtr() {
00803 return new RevocationSourcePtr(pkif_moduleJNI.make_RevocationSourcePtr(), true);
00804 }
00805
00806 public static CPKIFCertIDPtr make_CPKIFCertIDPtr() {
00807 return new CPKIFCertIDPtr(pkif_moduleJNI.make_CPKIFCertIDPtr(), true);
00808 }
00809
00810 public static CPKIFOCSPCertStatusPtr make_CPKIFOCSPCertStatusPtr() {
00811 return new CPKIFOCSPCertStatusPtr(pkif_moduleJNI.make_CPKIFOCSPCertStatusPtr(), true);
00812 }
00813
00814 public static CPKIFOCSPResponsePtr make_CPKIFOCSPResponsePtr() {
00815 return new CPKIFOCSPResponsePtr(pkif_moduleJNI.make_CPKIFOCSPResponsePtr(), true);
00816 }
00817
00818 public static CPKIFOCSPChecker MakeOCSPChecker() {
00819 long cPtr = pkif_moduleJNI.MakeOCSPChecker();
00820 return (cPtr == 0) ? null : new CPKIFOCSPChecker(cPtr, false);
00821 }
00822
00823 public static void FreeOCSPChecker(CPKIFOCSPChecker ldap) {
00824 pkif_moduleJNI.FreeOCSPChecker(CPKIFOCSPChecker.getCPtr(ldap), ldap);
00825 }
00826
00827 public static CPKIFOCSPCheckerPtr make_CPKIFOCSPCheckerPtr() {
00828 return new CPKIFOCSPCheckerPtr(pkif_moduleJNI.make_CPKIFOCSPCheckerPtr(), true);
00829 }
00830
00831 public static void setG_ocspBasic(CPKIFOIDPtr value) {
00832 pkif_moduleJNI.g_ocspBasic_set(CPKIFOIDPtr.getCPtr(value), value);
00833 }
00834
00835 public static CPKIFOIDPtr getG_ocspBasic() {
00836 long cPtr = pkif_moduleJNI.g_ocspBasic_get();
00837 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
00838 }
00839
00840 public static void setG_ocspNonce(CPKIFOIDPtr value) {
00841 pkif_moduleJNI.g_ocspNonce_set(CPKIFOIDPtr.getCPtr(value), value);
00842 }
00843
00844 public static CPKIFOIDPtr getG_ocspNonce() {
00845 long cPtr = pkif_moduleJNI.g_ocspNonce_get();
00846 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
00847 }
00848
00849 public static void setG_ocspNoCheck(CPKIFOIDPtr value) {
00850 pkif_moduleJNI.g_ocspNoCheck_set(CPKIFOIDPtr.getCPtr(value), value);
00851 }
00852
00853 public static CPKIFOIDPtr getG_ocspNoCheck() {
00854 long cPtr = pkif_moduleJNI.g_ocspNoCheck_get();
00855 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
00856 }
00857
00858 public static void setG_adOCSP(CPKIFOIDPtr value) {
00859 pkif_moduleJNI.g_adOCSP_set(CPKIFOIDPtr.getCPtr(value), value);
00860 }
00861
00862 public static CPKIFOIDPtr getG_adOCSP() {
00863 long cPtr = pkif_moduleJNI.g_adOCSP_get();
00864 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
00865 }
00866
00867 public static CPKIFOCSPInfoPtr make_CPKIFOCSPInfoPtr() {
00868 return new CPKIFOCSPInfoPtr(pkif_moduleJNI.make_CPKIFOCSPInfoPtr(), true);
00869 }
00870
00871 public static CPKIFRequestPtr make_CPKIFRequestPtr() {
00872 return new CPKIFRequestPtr(pkif_moduleJNI.make_CPKIFRequestPtr(), true);
00873 }
00874
00875 public static CPKIFResponderIDPtr make_CPKIFResponderIDPtr() {
00876 return new CPKIFResponderIDPtr(pkif_moduleJNI.make_CPKIFResponderIDPtr(), true);
00877 }
00878
00879 public static CPKIFResponseBytesPtr make_CPKIFResponseBytesPtr() {
00880 return new CPKIFResponseBytesPtr(pkif_moduleJNI.make_CPKIFResponseBytesPtr(), true);
00881 }
00882
00883 public static CPKIFResponseDataPtr make_CPKIFResponseDataPtr() {
00884 return new CPKIFResponseDataPtr(pkif_moduleJNI.make_CPKIFResponseDataPtr(), true);
00885 }
00886
00887 public static CPKIFRevokedInfoPtr make_CPKIFRevokedInfoPtr() {
00888 return new CPKIFRevokedInfoPtr(pkif_moduleJNI.make_CPKIFRevokedInfoPtr(), true);
00889 }
00890
00891 public static CPKIFSingleResponsePtr make_CPKIFSingleResponsePtr() {
00892 return new CPKIFSingleResponsePtr(pkif_moduleJNI.make_CPKIFSingleResponsePtr(), true);
00893 }
00894
00895 public static CPKIFTBSRequestPtr make_CPKIFTBSRequestPtr() {
00896 return new CPKIFTBSRequestPtr(pkif_moduleJNI.make_CPKIFTBSRequestPtr(), true);
00897 }
00898
00899 public static CPKIFCacheMediator2Ptr make_CPKIFCacheMediator2Ptr() {
00900 return new CPKIFCacheMediator2Ptr(pkif_moduleJNI.make_CPKIFCacheMediator2Ptr(), true);
00901 }
00902
00903 public static CPKIFCRLDPRetrievalPtr make_CPKIFCRLDPRetrievalPtr() {
00904 return new CPKIFCRLDPRetrievalPtr(pkif_moduleJNI.make_CPKIFCRLDPRetrievalPtr(), true);
00905 }
00906
00907 public static CPKIFLDAPRepositoryPtr MakeLDAPRepository() {
00908 return new CPKIFLDAPRepositoryPtr(pkif_moduleJNI.MakeLDAPRepository(), true);
00909 }
00910
00911 public static void FreeLDAPRepository(CPKIFLDAPRepository ldap) {
00912 pkif_moduleJNI.FreeLDAPRepository(CPKIFLDAPRepository.getCPtr(ldap), ldap);
00913 }
00914
00915 public static CPKIFLDAPRepositoryPtr make_CPKIFLDAPRepositoryPtr() {
00916 return new CPKIFLDAPRepositoryPtr(pkif_moduleJNI.make_CPKIFLDAPRepositoryPtr(), true);
00917 }
00918
00919 public static CPKIFNSSCertUpdatePtr make_CPKIFNSSCertUpdatePtr() {
00920 return new CPKIFNSSCertUpdatePtr(pkif_moduleJNI.make_CPKIFNSSCertUpdatePtr(), true);
00921 }
00922
00923 public static CPKIFNSSCRLUpdatePtr make_CPKIFNSSCRLUpdatePtr() {
00924 return new CPKIFNSSCRLUpdatePtr(pkif_moduleJNI.make_CPKIFNSSCRLUpdatePtr(), true);
00925 }
00926
00927 public static CPKIFNSSRepositoryPtr make_CPKIFNSSRepositoryPtr() {
00928 return new CPKIFNSSRepositoryPtr(pkif_moduleJNI.make_CPKIFNSSRepositoryPtr(), true);
00929 }
00930
00931 public static CPKIFNSSTrustStorePtr make_CPKIFNSSTrustStorePtr() {
00932 return new CPKIFNSSTrustStorePtr(pkif_moduleJNI.make_CPKIFNSSTrustStorePtr(), true);
00933 }
00934
00935 public static SimpleCertCache MakeSimpleCertCache() {
00936 long cPtr = pkif_moduleJNI.MakeSimpleCertCache();
00937 return (cPtr == 0) ? null : new SimpleCertCache(cPtr, false);
00938 }
00939
00940 public static void FreeSimpleCertCache(SimpleCertCache ldap) {
00941 pkif_moduleJNI.FreeSimpleCertCache(SimpleCertCache.getCPtr(ldap), ldap);
00942 }
00943
00944 public static SimpleCertCachePtr make_SimpleCertCachePtr() {
00945 return new SimpleCertCachePtr(pkif_moduleJNI.make_SimpleCertCachePtr(), true);
00946 }
00947
00948 public static SimpleCRLCache MakeSimpleCRLCache() {
00949 long cPtr = pkif_moduleJNI.MakeSimpleCRLCache();
00950 return (cPtr == 0) ? null : new SimpleCRLCache(cPtr, false);
00951 }
00952
00953 public static void FreeSimpleCRLCache(SimpleCRLCache ldap) {
00954 pkif_moduleJNI.FreeSimpleCRLCache(SimpleCRLCache.getCPtr(ldap), ldap);
00955 }
00956
00957 public static SimpleCRLCachePtr make_SimpleCRLCachePtr() {
00958 return new SimpleCRLCachePtr(pkif_moduleJNI.make_SimpleCRLCachePtr(), true);
00959 }
00960
00961 public static SimpleRootStore MakeSimpleRootStore() {
00962 long cPtr = pkif_moduleJNI.MakeSimpleRootStore();
00963 return (cPtr == 0) ? null : new SimpleRootStore(cPtr, false);
00964 }
00965
00966 public static void FreeSimpleRootStore(SimpleRootStore ldap) {
00967 pkif_moduleJNI.FreeSimpleRootStore(SimpleRootStore.getCPtr(ldap), ldap);
00968 }
00969
00970 public static SimpleRootStorePtr make_SimpleRootStorePtr() {
00971 return new SimpleRootStorePtr(pkif_moduleJNI.make_SimpleRootStorePtr(), true);
00972 }
00973
00974 public static CPKIFCertificatePtr DecodeCertFromFile(String filename) {
00975 return new CPKIFCertificatePtr(pkif_moduleJNI.DecodeCertFromFile(filename), true);
00976 }
00977
00978 public static void WriteBufferToFile(String filename, CPKIFBufferPtr buf) {
00979 pkif_moduleJNI.WriteBufferToFile(filename, CPKIFBufferPtr.getCPtr(buf), buf);
00980 }
00981
00982 public static CPKIFBufferPtr ReadFileIntoBuffer(String filename) {
00983 return new CPKIFBufferPtr(pkif_moduleJNI.ReadFileIntoBuffer(filename), true);
00984 }
00985
00986 public static SWIGTYPE_p_void PKIFZero(SWIGTYPE_p_void buf, long len) {
00987 long cPtr = pkif_moduleJNI.PKIFZero(SWIGTYPE_p_void.getCPtr(buf), len);
00988 return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
00989 }
00990
00991 public static IPKIFColleaguePtr MakeDefaultMediator(boolean isService) {
00992 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediator__SWIG_0(isService), true);
00993 }
00994
00995 public static IPKIFColleaguePtr MakeDefaultMediator() {
00996 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediator__SWIG_1(), true);
00997 }
00998
00999 public static IPKIFColleaguePtr MakeDefaultMediator(boolean isService, CPKIFOCSPCheckerPtr trustedResponder) {
01000 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediator__SWIG_2(isService, CPKIFOCSPCheckerPtr.getCPtr(trustedResponder), trustedResponder), true);
01001 }
01002
01003 public static IPKIFColleaguePtr MakeDefaultMediator(boolean isService, CPKIFOCSPCheckerPtr trustedResponder, CPKIFOCSPCheckerPtr aiaColleague) {
01004 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediator__SWIG_3(isService, CPKIFOCSPCheckerPtr.getCPtr(trustedResponder), trustedResponder, CPKIFOCSPCheckerPtr.getCPtr(aiaColleague), aiaColleague), true);
01005 }
01006
01007 public static void FreeDefaultMediator(IPKIFColleague p) {
01008 pkif_moduleJNI.FreeDefaultMediator(IPKIFColleague.getCPtr(p), p);
01009 }
01010
01011 public static IPKIFColleaguePtr MakeDefaultMediatorNSS(String db) {
01012 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediatorNSS__SWIG_0(db), true);
01013 }
01014
01015 public static IPKIFColleaguePtr MakeDefaultMediatorNSS(String db, CPKIFOCSPCheckerPtr trustedResponder) {
01016 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediatorNSS__SWIG_1(db, CPKIFOCSPCheckerPtr.getCPtr(trustedResponder), trustedResponder), true);
01017 }
01018
01019 public static IPKIFColleaguePtr MakeDefaultMediatorNSS(String db, CPKIFOCSPCheckerPtr trustedResponder, CPKIFOCSPCheckerPtr aiaColleague) {
01020 return new IPKIFColleaguePtr(pkif_moduleJNI.MakeDefaultMediatorNSS__SWIG_2(db, CPKIFOCSPCheckerPtr.getCPtr(trustedResponder), trustedResponder, CPKIFOCSPCheckerPtr.getCPtr(aiaColleague), aiaColleague), true);
01021 }
01022
01023 public static IPKIFCertRepository Get_IPKIFCertRepository(IPKIFColleaguePtr m) {
01024 long cPtr = pkif_moduleJNI.Get_IPKIFCertRepository(IPKIFColleaguePtr.getCPtr(m), m);
01025 return (cPtr == 0) ? null : new IPKIFCertRepository(cPtr, false);
01026 }
01027
01028 public static IPKIFCertRepositoryUpdate Get_IPKIFCertRepositoryUpdate(IPKIFColleaguePtr m) {
01029 long cPtr = pkif_moduleJNI.Get_IPKIFCertRepositoryUpdate(IPKIFColleaguePtr.getCPtr(m), m);
01030 return (cPtr == 0) ? null : new IPKIFCertRepositoryUpdate(cPtr, false);
01031 }
01032
01033 public static IPKIFCertSearch Get_IPKIFCertSearch(IPKIFColleaguePtr m) {
01034 long cPtr = pkif_moduleJNI.Get_IPKIFCertSearch(IPKIFColleaguePtr.getCPtr(m), m);
01035 return (cPtr == 0) ? null : new IPKIFCertSearch(cPtr, false);
01036 }
01037
01038 public static IPKIFCRLRepository Get_IPKIFCRLRepository(IPKIFColleaguePtr m) {
01039 long cPtr = pkif_moduleJNI.Get_IPKIFCRLRepository(IPKIFColleaguePtr.getCPtr(m), m);
01040 return (cPtr == 0) ? null : new IPKIFCRLRepository(cPtr, false);
01041 }
01042
01043 public static IPKIFCRLRepositoryUpdate Get_IPKIFCRLRepositoryUpdate(IPKIFColleaguePtr m) {
01044 long cPtr = pkif_moduleJNI.Get_IPKIFCRLRepositoryUpdate(IPKIFColleaguePtr.getCPtr(m), m);
01045 return (cPtr == 0) ? null : new IPKIFCRLRepositoryUpdate(cPtr, false);
01046 }
01047
01048 public static IPKIFTrustCache Get_IPKIFTrustCache(IPKIFColleaguePtr m) {
01049 long cPtr = pkif_moduleJNI.Get_IPKIFTrustCache(IPKIFColleaguePtr.getCPtr(m), m);
01050 return (cPtr == 0) ? null : new IPKIFTrustCache(cPtr, false);
01051 }
01052
01053 public static IPKIFTrustCacheUpdate Get_IPKIFTrustCacheUpdate(IPKIFColleaguePtr m) {
01054 long cPtr = pkif_moduleJNI.Get_IPKIFTrustCacheUpdate(IPKIFColleaguePtr.getCPtr(m), m);
01055 return (cPtr == 0) ? null : new IPKIFTrustCacheUpdate(cPtr, false);
01056 }
01057
01058 public static IPKIFCryptoKeyManagement Get_IPKIFCryptoKeyManagement(IPKIFColleaguePtr m) {
01059 long cPtr = pkif_moduleJNI.Get_IPKIFCryptoKeyManagement(IPKIFColleaguePtr.getCPtr(m), m);
01060 return (cPtr == 0) ? null : new IPKIFCryptoKeyManagement(cPtr, false);
01061 }
01062
01063 public static IPKIFCryptoKeyIDOperations Get_IPKIFCryptoKeyIDOperations(IPKIFColleaguePtr m) {
01064 long cPtr = pkif_moduleJNI.Get_IPKIFCryptoKeyIDOperations(IPKIFColleaguePtr.getCPtr(m), m);
01065 return (cPtr == 0) ? null : new IPKIFCryptoKeyIDOperations(cPtr, false);
01066 }
01067
01068 public static IPKIFCryptoMisc Get_IPKIFCryptoMisc(IPKIFColleaguePtr m) {
01069 long cPtr = pkif_moduleJNI.Get_IPKIFCryptoMisc(IPKIFColleaguePtr.getCPtr(m), m);
01070 return (cPtr == 0) ? null : new IPKIFCryptoMisc(cPtr, false);
01071 }
01072
01073 public static IPKIFCryptoRawOperations Get_IPKIFCryptoRawOperations(IPKIFColleaguePtr m) {
01074 long cPtr = pkif_moduleJNI.Get_IPKIFCryptoRawOperations(IPKIFColleaguePtr.getCPtr(m), m);
01075 return (cPtr == 0) ? null : new IPKIFCryptoRawOperations(cPtr, false);
01076 }
01077
01078 public static IPKIFCryptoAlgSupport Get_IPKIFCryptoAlgSupport(IPKIFColleaguePtr m) {
01079 long cPtr = pkif_moduleJNI.Get_IPKIFCryptoAlgSupport(IPKIFColleaguePtr.getCPtr(m), m);
01080 return (cPtr == 0) ? null : new IPKIFCryptoAlgSupport(cPtr, false);
01081 }
01082
01083 public static IPKIFDefaultPathManagement Get_IPKIFDefaultPathManagement(IPKIFColleaguePtr m) {
01084 long cPtr = pkif_moduleJNI.Get_IPKIFDefaultPathManagement(IPKIFColleaguePtr.getCPtr(m), m);
01085 return (cPtr == 0) ? null : new IPKIFDefaultPathManagement(cPtr, false);
01086 }
01087
01088 public static void AddCacheColleague(IPKIFColleaguePtr m, IPKIFColleaguePtr ldap) {
01089 pkif_moduleJNI.AddCacheColleague(IPKIFColleaguePtr.getCPtr(m), m, IPKIFColleaguePtr.getCPtr(ldap), ldap);
01090 }
01091
01092 public static void GetCertsFromIssuerAltName(CPKIFCertificate cert, CPKIFCertificateNodeList certList, PKIInfoSource source, SWIGTYPE_p_PathBuildingDirection pbd) {
01093 pkif_moduleJNI.GetCertsFromIssuerAltName__SWIG_0(CPKIFCertificate.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certList), certList, source.swigValue(), SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
01094 }
01095
01096 public static void GetCertsFromIssuerAltName(CPKIFCertificate cert, CPKIFCertificateNodeList certList, PKIInfoSource source) {
01097 pkif_moduleJNI.GetCertsFromIssuerAltName__SWIG_1(CPKIFCertificate.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certList), certList, source.swigValue());
01098 }
01099
01100 public static void GetCertsFromIssuerAltName(CPKIFCertificate cert, CPKIFCertificateNodeList certList) {
01101 pkif_moduleJNI.GetCertsFromIssuerAltName__SWIG_2(CPKIFCertificate.getCPtr(cert), cert, CPKIFCertificateNodeList.getCPtr(certList), certList);
01102 }
01103
01104 public static SWIGTYPE_p_BOOL PostRequestURL(CPKIFBufferPtr encTSR, CPKIFBufferPtr resp, String pstrURL, PKIFServiceType pst) {
01105 return new SWIGTYPE_p_BOOL(pkif_moduleJNI.PostRequestURL(CPKIFBufferPtr.getCPtr(encTSR), encTSR, CPKIFBufferPtr.getCPtr(resp), resp, pstrURL, pst.swigValue()), true);
01106 }
01107
01108 public static boolean RetrieveCertGivenHTTPURL(String url, CPKIFCertificateNodeList certNodeList) {
01109 return pkif_moduleJNI.RetrieveCertGivenHTTPURL(url, CPKIFCertificateNodeList.getCPtr(certNodeList), certNodeList);
01110 }
01111
01112 public static int GetCRLfromLDAPURL(String url_in, CPKIFCRLList crlList) {
01113 return pkif_moduleJNI.GetCRLfromLDAPURL(url_in, CPKIFCRLList.getCPtr(crlList), crlList);
01114 }
01115
01116 public static int GetCertfromLDAPURL(String url, CPKIFCertificateNodeList certList, SWIGTYPE_p_PathBuildingDirection pbd) {
01117 return pkif_moduleJNI.GetCertfromLDAPURL__SWIG_0(url, CPKIFCertificateNodeList.getCPtr(certList), certList, SWIGTYPE_p_PathBuildingDirection.getCPtr(pbd));
01118 }
01119
01120 public static int GetCertfromLDAPURL(String url, CPKIFCertificateNodeList certList) {
01121 return pkif_moduleJNI.GetCertfromLDAPURL__SWIG_1(url, CPKIFCertificateNodeList.getCPtr(certList), certList);
01122 }
01123
01124 public static SWIGTYPE_p_BOOL PostRequest(CPKIFBufferPtr encTSR, CPKIFBufferPtr resp, String pstrServer, int port, String pstrObject, PKIFServiceType pst) {
01125 return new SWIGTYPE_p_BOOL(pkif_moduleJNI.PostRequest(CPKIFBufferPtr.getCPtr(encTSR), encTSR, CPKIFBufferPtr.getCPtr(resp), resp, pstrServer, port, pstrObject, pst.swigValue()), true);
01126 }
01127
01128 public static String GetErrorCodeString(int errorCode, String buf) {
01129 return pkif_moduleJNI.GetErrorCodeString(errorCode, buf);
01130 }
01131
01132 public static void setG_md2WithRSAEncryption(CPKIFOIDPtr value) {
01133 pkif_moduleJNI.g_md2WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01134 }
01135
01136 public static CPKIFOIDPtr getG_md2WithRSAEncryption() {
01137 long cPtr = pkif_moduleJNI.g_md2WithRSAEncryption_get();
01138 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01139 }
01140
01141 public static void setG_md5WithRSAEncryption(CPKIFOIDPtr value) {
01142 pkif_moduleJNI.g_md5WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01143 }
01144
01145 public static CPKIFOIDPtr getG_md5WithRSAEncryption() {
01146 long cPtr = pkif_moduleJNI.g_md5WithRSAEncryption_get();
01147 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01148 }
01149
01150 public static void setG_sha1WithRSAEncryption(CPKIFOIDPtr value) {
01151 pkif_moduleJNI.g_sha1WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01152 }
01153
01154 public static CPKIFOIDPtr getG_sha1WithRSAEncryption() {
01155 long cPtr = pkif_moduleJNI.g_sha1WithRSAEncryption_get();
01156 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01157 }
01158
01159 public static void setG_sha224WithRSAEncryption(CPKIFOIDPtr value) {
01160 pkif_moduleJNI.g_sha224WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01161 }
01162
01163 public static CPKIFOIDPtr getG_sha224WithRSAEncryption() {
01164 long cPtr = pkif_moduleJNI.g_sha224WithRSAEncryption_get();
01165 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01166 }
01167
01168 public static void setG_sha256WithRSAEncryption(CPKIFOIDPtr value) {
01169 pkif_moduleJNI.g_sha256WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01170 }
01171
01172 public static CPKIFOIDPtr getG_sha256WithRSAEncryption() {
01173 long cPtr = pkif_moduleJNI.g_sha256WithRSAEncryption_get();
01174 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01175 }
01176
01177 public static void setG_sha384WithRSAEncryption(CPKIFOIDPtr value) {
01178 pkif_moduleJNI.g_sha384WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01179 }
01180
01181 public static CPKIFOIDPtr getG_sha384WithRSAEncryption() {
01182 long cPtr = pkif_moduleJNI.g_sha384WithRSAEncryption_get();
01183 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01184 }
01185
01186 public static void setG_sha512WithRSAEncryption(CPKIFOIDPtr value) {
01187 pkif_moduleJNI.g_sha512WithRSAEncryption_set(CPKIFOIDPtr.getCPtr(value), value);
01188 }
01189
01190 public static CPKIFOIDPtr getG_sha512WithRSAEncryption() {
01191 long cPtr = pkif_moduleJNI.g_sha512WithRSAEncryption_get();
01192 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01193 }
01194
01195 public static void setG_dsaWithSHA1(CPKIFOIDPtr value) {
01196 pkif_moduleJNI.g_dsaWithSHA1_set(CPKIFOIDPtr.getCPtr(value), value);
01197 }
01198
01199 public static CPKIFOIDPtr getG_dsaWithSHA1() {
01200 long cPtr = pkif_moduleJNI.g_dsaWithSHA1_get();
01201 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01202 }
01203
01204 public static void setG_dsaWithSHA1Alternative(CPKIFOIDPtr value) {
01205 pkif_moduleJNI.g_dsaWithSHA1Alternative_set(CPKIFOIDPtr.getCPtr(value), value);
01206 }
01207
01208 public static CPKIFOIDPtr getG_dsaWithSHA1Alternative() {
01209 long cPtr = pkif_moduleJNI.g_dsaWithSHA1Alternative_get();
01210 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01211 }
01212
01213 public static void setG_dsa(CPKIFOIDPtr value) {
01214 pkif_moduleJNI.g_dsa_set(CPKIFOIDPtr.getCPtr(value), value);
01215 }
01216
01217 public static CPKIFOIDPtr getG_dsa() {
01218 long cPtr = pkif_moduleJNI.g_dsa_get();
01219 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01220 }
01221
01222 public static void setG_rsa(CPKIFOIDPtr value) {
01223 pkif_moduleJNI.g_rsa_set(CPKIFOIDPtr.getCPtr(value), value);
01224 }
01225
01226 public static CPKIFOIDPtr getG_rsa() {
01227 long cPtr = pkif_moduleJNI.g_rsa_get();
01228 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01229 }
01230
01231 public static void setG_ecc(CPKIFOIDPtr value) {
01232 pkif_moduleJNI.g_ecc_set(CPKIFOIDPtr.getCPtr(value), value);
01233 }
01234
01235 public static CPKIFOIDPtr getG_ecc() {
01236 long cPtr = pkif_moduleJNI.g_ecc_get();
01237 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01238 }
01239
01240 public static void setG_ecdsa_sha1(CPKIFOIDPtr value) {
01241 pkif_moduleJNI.g_ecdsa_sha1_set(CPKIFOIDPtr.getCPtr(value), value);
01242 }
01243
01244 public static CPKIFOIDPtr getG_ecdsa_sha1() {
01245 long cPtr = pkif_moduleJNI.g_ecdsa_sha1_get();
01246 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01247 }
01248
01249 public static void setG_ecdsa_rec(CPKIFOIDPtr value) {
01250 pkif_moduleJNI.g_ecdsa_rec_set(CPKIFOIDPtr.getCPtr(value), value);
01251 }
01252
01253 public static CPKIFOIDPtr getG_ecdsa_rec() {
01254 long cPtr = pkif_moduleJNI.g_ecdsa_rec_get();
01255 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01256 }
01257
01258 public static void setG_ecdsa_params(CPKIFOIDPtr value) {
01259 pkif_moduleJNI.g_ecdsa_params_set(CPKIFOIDPtr.getCPtr(value), value);
01260 }
01261
01262 public static CPKIFOIDPtr getG_ecdsa_params() {
01263 long cPtr = pkif_moduleJNI.g_ecdsa_params_get();
01264 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01265 }
01266
01267 public static void setG_ecdsa_sha224(CPKIFOIDPtr value) {
01268 pkif_moduleJNI.g_ecdsa_sha224_set(CPKIFOIDPtr.getCPtr(value), value);
01269 }
01270
01271 public static CPKIFOIDPtr getG_ecdsa_sha224() {
01272 long cPtr = pkif_moduleJNI.g_ecdsa_sha224_get();
01273 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01274 }
01275
01276 public static void setG_ecdsa_sha256(CPKIFOIDPtr value) {
01277 pkif_moduleJNI.g_ecdsa_sha256_set(CPKIFOIDPtr.getCPtr(value), value);
01278 }
01279
01280 public static CPKIFOIDPtr getG_ecdsa_sha256() {
01281 long cPtr = pkif_moduleJNI.g_ecdsa_sha256_get();
01282 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01283 }
01284
01285 public static void setG_ecdsa_sha384(CPKIFOIDPtr value) {
01286 pkif_moduleJNI.g_ecdsa_sha384_set(CPKIFOIDPtr.getCPtr(value), value);
01287 }
01288
01289 public static CPKIFOIDPtr getG_ecdsa_sha384() {
01290 long cPtr = pkif_moduleJNI.g_ecdsa_sha384_get();
01291 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01292 }
01293
01294 public static void setG_ecdsa_sha512(CPKIFOIDPtr value) {
01295 pkif_moduleJNI.g_ecdsa_sha512_set(CPKIFOIDPtr.getCPtr(value), value);
01296 }
01297
01298 public static CPKIFOIDPtr getG_ecdsa_sha512() {
01299 long cPtr = pkif_moduleJNI.g_ecdsa_sha512_get();
01300 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01301 }
01302
01303 public static void setG_ecdh_std_sha1kdf(CPKIFOIDPtr value) {
01304 pkif_moduleJNI.g_ecdh_std_sha1kdf_set(CPKIFOIDPtr.getCPtr(value), value);
01305 }
01306
01307 public static CPKIFOIDPtr getG_ecdh_std_sha1kdf() {
01308 long cPtr = pkif_moduleJNI.g_ecdh_std_sha1kdf_get();
01309 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01310 }
01311
01312 public static void setG_ecdh_cofactor_sha1kdf(CPKIFOIDPtr value) {
01313 pkif_moduleJNI.g_ecdh_cofactor_sha1kdf_set(CPKIFOIDPtr.getCPtr(value), value);
01314 }
01315
01316 public static CPKIFOIDPtr getG_ecdh_cofactor_sha1kdf() {
01317 long cPtr = pkif_moduleJNI.g_ecdh_cofactor_sha1kdf_get();
01318 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01319 }
01320
01321 public static void setG_ecmqv_sha1kdf(CPKIFOIDPtr value) {
01322 pkif_moduleJNI.g_ecmqv_sha1kdf_set(CPKIFOIDPtr.getCPtr(value), value);
01323 }
01324
01325 public static CPKIFOIDPtr getG_ecmqv_sha1kdf() {
01326 long cPtr = pkif_moduleJNI.g_ecmqv_sha1kdf_get();
01327 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01328 }
01329
01330 public static void setG_ecdh_std_sha256kdf(CPKIFOIDPtr value) {
01331 pkif_moduleJNI.g_ecdh_std_sha256kdf_set(CPKIFOIDPtr.getCPtr(value), value);
01332 }
01333
01334 public static CPKIFOIDPtr getG_ecdh_std_sha256kdf() {
01335 long cPtr = pkif_moduleJNI.g_ecdh_std_sha256kdf_get();
01336 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01337 }
01338
01339 public static void setG_ecdh_std_sha384kdf(CPKIFOIDPtr value) {
01340 pkif_moduleJNI.g_ecdh_std_sha384kdf_set(CPKIFOIDPtr.getCPtr(value), value);
01341 }
01342
01343 public static CPKIFOIDPtr getG_ecdh_std_sha384kdf() {
01344 long cPtr = pkif_moduleJNI.g_ecdh_std_sha384kdf_get();
01345 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01346 }
01347
01348 public static void setG_sha1(CPKIFOIDPtr value) {
01349 pkif_moduleJNI.g_sha1_set(CPKIFOIDPtr.getCPtr(value), value);
01350 }
01351
01352 public static CPKIFOIDPtr getG_sha1() {
01353 long cPtr = pkif_moduleJNI.g_sha1_get();
01354 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01355 }
01356
01357 public static void setG_sha224(CPKIFOIDPtr value) {
01358 pkif_moduleJNI.g_sha224_set(CPKIFOIDPtr.getCPtr(value), value);
01359 }
01360
01361 public static CPKIFOIDPtr getG_sha224() {
01362 long cPtr = pkif_moduleJNI.g_sha224_get();
01363 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01364 }
01365
01366 public static void setG_sha256(CPKIFOIDPtr value) {
01367 pkif_moduleJNI.g_sha256_set(CPKIFOIDPtr.getCPtr(value), value);
01368 }
01369
01370 public static CPKIFOIDPtr getG_sha256() {
01371 long cPtr = pkif_moduleJNI.g_sha256_get();
01372 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01373 }
01374
01375 public static void setG_sha384(CPKIFOIDPtr value) {
01376 pkif_moduleJNI.g_sha384_set(CPKIFOIDPtr.getCPtr(value), value);
01377 }
01378
01379 public static CPKIFOIDPtr getG_sha384() {
01380 long cPtr = pkif_moduleJNI.g_sha384_get();
01381 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01382 }
01383
01384 public static void setG_sha512(CPKIFOIDPtr value) {
01385 pkif_moduleJNI.g_sha512_set(CPKIFOIDPtr.getCPtr(value), value);
01386 }
01387
01388 public static CPKIFOIDPtr getG_sha512() {
01389 long cPtr = pkif_moduleJNI.g_sha512_get();
01390 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01391 }
01392
01393 public static void setG_md5(CPKIFOIDPtr value) {
01394 pkif_moduleJNI.g_md5_set(CPKIFOIDPtr.getCPtr(value), value);
01395 }
01396
01397 public static CPKIFOIDPtr getG_md5() {
01398 long cPtr = pkif_moduleJNI.g_md5_get();
01399 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01400 }
01401
01402 public static void setG_desCBC(CPKIFOIDPtr value) {
01403 pkif_moduleJNI.g_desCBC_set(CPKIFOIDPtr.getCPtr(value), value);
01404 }
01405
01406 public static CPKIFOIDPtr getG_desCBC() {
01407 long cPtr = pkif_moduleJNI.g_desCBC_get();
01408 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01409 }
01410
01411 public static void setG_tdesCBC(CPKIFOIDPtr value) {
01412 pkif_moduleJNI.g_tdesCBC_set(CPKIFOIDPtr.getCPtr(value), value);
01413 }
01414
01415 public static CPKIFOIDPtr getG_tdesCBC() {
01416 long cPtr = pkif_moduleJNI.g_tdesCBC_get();
01417 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01418 }
01419
01420 public static void setG_tdesECB(CPKIFOIDPtr value) {
01421 pkif_moduleJNI.g_tdesECB_set(CPKIFOIDPtr.getCPtr(value), value);
01422 }
01423
01424 public static CPKIFOIDPtr getG_tdesECB() {
01425 long cPtr = pkif_moduleJNI.g_tdesECB_get();
01426 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01427 }
01428
01429 public static void setG_desECB(CPKIFOIDPtr value) {
01430 pkif_moduleJNI.g_desECB_set(CPKIFOIDPtr.getCPtr(value), value);
01431 }
01432
01433 public static CPKIFOIDPtr getG_desECB() {
01434 long cPtr = pkif_moduleJNI.g_desECB_get();
01435 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01436 }
01437
01438 public static void setG_aes128ECB(CPKIFOIDPtr value) {
01439 pkif_moduleJNI.g_aes128ECB_set(CPKIFOIDPtr.getCPtr(value), value);
01440 }
01441
01442 public static CPKIFOIDPtr getG_aes128ECB() {
01443 long cPtr = pkif_moduleJNI.g_aes128ECB_get();
01444 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01445 }
01446
01447 public static void setG_aes128CBC(CPKIFOIDPtr value) {
01448 pkif_moduleJNI.g_aes128CBC_set(CPKIFOIDPtr.getCPtr(value), value);
01449 }
01450
01451 public static CPKIFOIDPtr getG_aes128CBC() {
01452 long cPtr = pkif_moduleJNI.g_aes128CBC_get();
01453 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01454 }
01455
01456 public static void setG_aes192ECB(CPKIFOIDPtr value) {
01457 pkif_moduleJNI.g_aes192ECB_set(CPKIFOIDPtr.getCPtr(value), value);
01458 }
01459
01460 public static CPKIFOIDPtr getG_aes192ECB() {
01461 long cPtr = pkif_moduleJNI.g_aes192ECB_get();
01462 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01463 }
01464
01465 public static void setG_aes192CBC(CPKIFOIDPtr value) {
01466 pkif_moduleJNI.g_aes192CBC_set(CPKIFOIDPtr.getCPtr(value), value);
01467 }
01468
01469 public static CPKIFOIDPtr getG_aes192CBC() {
01470 long cPtr = pkif_moduleJNI.g_aes192CBC_get();
01471 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01472 }
01473
01474 public static void setG_aes256ECB(CPKIFOIDPtr value) {
01475 pkif_moduleJNI.g_aes256ECB_set(CPKIFOIDPtr.getCPtr(value), value);
01476 }
01477
01478 public static CPKIFOIDPtr getG_aes256ECB() {
01479 long cPtr = pkif_moduleJNI.g_aes256ECB_get();
01480 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01481 }
01482
01483 public static void setG_aes256CBC(CPKIFOIDPtr value) {
01484 pkif_moduleJNI.g_aes256CBC_set(CPKIFOIDPtr.getCPtr(value), value);
01485 }
01486
01487 public static CPKIFOIDPtr getG_aes256CBC() {
01488 long cPtr = pkif_moduleJNI.g_aes256CBC_get();
01489 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01490 }
01491
01492 public static void setG_aes128Wrap(CPKIFOIDPtr value) {
01493 pkif_moduleJNI.g_aes128Wrap_set(CPKIFOIDPtr.getCPtr(value), value);
01494 }
01495
01496 public static CPKIFOIDPtr getG_aes128Wrap() {
01497 long cPtr = pkif_moduleJNI.g_aes128Wrap_get();
01498 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01499 }
01500
01501 public static void setG_aes192Wrap(CPKIFOIDPtr value) {
01502 pkif_moduleJNI.g_aes192Wrap_set(CPKIFOIDPtr.getCPtr(value), value);
01503 }
01504
01505 public static CPKIFOIDPtr getG_aes192Wrap() {
01506 long cPtr = pkif_moduleJNI.g_aes192Wrap_get();
01507 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01508 }
01509
01510 public static void setG_aes256Wrap(CPKIFOIDPtr value) {
01511 pkif_moduleJNI.g_aes256Wrap_set(CPKIFOIDPtr.getCPtr(value), value);
01512 }
01513
01514 public static CPKIFOIDPtr getG_aes256Wrap() {
01515 long cPtr = pkif_moduleJNI.g_aes256Wrap_get();
01516 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01517 }
01518
01519 public static void setG_contentInfo(CPKIFOIDPtr value) {
01520 pkif_moduleJNI.g_contentInfo_set(CPKIFOIDPtr.getCPtr(value), value);
01521 }
01522
01523 public static CPKIFOIDPtr getG_contentInfo() {
01524 long cPtr = pkif_moduleJNI.g_contentInfo_get();
01525 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01526 }
01527
01528 public static void setG_data(CPKIFOIDPtr value) {
01529 pkif_moduleJNI.g_data_set(CPKIFOIDPtr.getCPtr(value), value);
01530 }
01531
01532 public static CPKIFOIDPtr getG_data() {
01533 long cPtr = pkif_moduleJNI.g_data_get();
01534 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01535 }
01536
01537 public static void setG_signedData(CPKIFOIDPtr value) {
01538 pkif_moduleJNI.g_signedData_set(CPKIFOIDPtr.getCPtr(value), value);
01539 }
01540
01541 public static CPKIFOIDPtr getG_signedData() {
01542 long cPtr = pkif_moduleJNI.g_signedData_get();
01543 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01544 }
01545
01546 public static void setG_envelopedData(CPKIFOIDPtr value) {
01547 pkif_moduleJNI.g_envelopedData_set(CPKIFOIDPtr.getCPtr(value), value);
01548 }
01549
01550 public static CPKIFOIDPtr getG_envelopedData() {
01551 long cPtr = pkif_moduleJNI.g_envelopedData_get();
01552 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01553 }
01554
01555 public static void setG_encryptedData(CPKIFOIDPtr value) {
01556 pkif_moduleJNI.g_encryptedData_set(CPKIFOIDPtr.getCPtr(value), value);
01557 }
01558
01559 public static CPKIFOIDPtr getG_encryptedData() {
01560 long cPtr = pkif_moduleJNI.g_encryptedData_get();
01561 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01562 }
01563
01564 public static void setG_contentCollection(CPKIFOIDPtr value) {
01565 pkif_moduleJNI.g_contentCollection_set(CPKIFOIDPtr.getCPtr(value), value);
01566 }
01567
01568 public static CPKIFOIDPtr getG_contentCollection() {
01569 long cPtr = pkif_moduleJNI.g_contentCollection_get();
01570 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01571 }
01572
01573 public static void setG_contentWithAttributes(CPKIFOIDPtr value) {
01574 pkif_moduleJNI.g_contentWithAttributes_set(CPKIFOIDPtr.getCPtr(value), value);
01575 }
01576
01577 public static CPKIFOIDPtr getG_contentWithAttributes() {
01578 long cPtr = pkif_moduleJNI.g_contentWithAttributes_get();
01579 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01580 }
01581
01582 public static void setG_compressedData(CPKIFOIDPtr value) {
01583 pkif_moduleJNI.g_compressedData_set(CPKIFOIDPtr.getCPtr(value), value);
01584 }
01585
01586 public static CPKIFOIDPtr getG_compressedData() {
01587 long cPtr = pkif_moduleJNI.g_compressedData_get();
01588 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01589 }
01590
01591 public static void setG_authenticatedData(CPKIFOIDPtr value) {
01592 pkif_moduleJNI.g_authenticatedData_set(CPKIFOIDPtr.getCPtr(value), value);
01593 }
01594
01595 public static CPKIFOIDPtr getG_authenticatedData() {
01596 long cPtr = pkif_moduleJNI.g_authenticatedData_get();
01597 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01598 }
01599
01600 public static void setG_digestedData(CPKIFOIDPtr value) {
01601 pkif_moduleJNI.g_digestedData_set(CPKIFOIDPtr.getCPtr(value), value);
01602 }
01603
01604 public static CPKIFOIDPtr getG_digestedData() {
01605 long cPtr = pkif_moduleJNI.g_digestedData_get();
01606 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01607 }
01608
01609 public static void setG_authEnvelopedData(CPKIFOIDPtr value) {
01610 pkif_moduleJNI.g_authEnvelopedData_set(CPKIFOIDPtr.getCPtr(value), value);
01611 }
01612
01613 public static CPKIFOIDPtr getG_authEnvelopedData() {
01614 long cPtr = pkif_moduleJNI.g_authEnvelopedData_get();
01615 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01616 }
01617
01618 public static void setG_contentTypeAttribute(CPKIFOIDPtr value) {
01619 pkif_moduleJNI.g_contentTypeAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01620 }
01621
01622 public static CPKIFOIDPtr getG_contentTypeAttribute() {
01623 long cPtr = pkif_moduleJNI.g_contentTypeAttribute_get();
01624 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01625 }
01626
01627 public static void setG_messageDigestAttribute(CPKIFOIDPtr value) {
01628 pkif_moduleJNI.g_messageDigestAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01629 }
01630
01631 public static CPKIFOIDPtr getG_messageDigestAttribute() {
01632 long cPtr = pkif_moduleJNI.g_messageDigestAttribute_get();
01633 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01634 }
01635
01636 public static void setG_signingTimeAttribute(CPKIFOIDPtr value) {
01637 pkif_moduleJNI.g_signingTimeAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01638 }
01639
01640 public static CPKIFOIDPtr getG_signingTimeAttribute() {
01641 long cPtr = pkif_moduleJNI.g_signingTimeAttribute_get();
01642 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01643 }
01644
01645 public static void setG_countersignatureAttribute(CPKIFOIDPtr value) {
01646 pkif_moduleJNI.g_countersignatureAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01647 }
01648
01649 public static CPKIFOIDPtr getG_countersignatureAttribute() {
01650 long cPtr = pkif_moduleJNI.g_countersignatureAttribute_get();
01651 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01652 }
01653
01654 public static void setG_timestampAttribute(CPKIFOIDPtr value) {
01655 pkif_moduleJNI.g_timestampAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01656 }
01657
01658 public static CPKIFOIDPtr getG_timestampAttribute() {
01659 long cPtr = pkif_moduleJNI.g_timestampAttribute_get();
01660 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01661 }
01662
01663 public static void setG_archiveTokenAttribute(CPKIFOIDPtr value) {
01664 pkif_moduleJNI.g_archiveTokenAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01665 }
01666
01667 public static CPKIFOIDPtr getG_archiveTokenAttribute() {
01668 long cPtr = pkif_moduleJNI.g_archiveTokenAttribute_get();
01669 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01670 }
01671
01672 public static void setG_binarySigningTimeAttribute(CPKIFOIDPtr value) {
01673 pkif_moduleJNI.g_binarySigningTimeAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01674 }
01675
01676 public static CPKIFOIDPtr getG_binarySigningTimeAttribute() {
01677 long cPtr = pkif_moduleJNI.g_binarySigningTimeAttribute_get();
01678 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01679 }
01680
01681 public static void setG_signingCertificateAttribute(CPKIFOIDPtr value) {
01682 pkif_moduleJNI.g_signingCertificateAttribute_set(CPKIFOIDPtr.getCPtr(value), value);
01683 }
01684
01685 public static CPKIFOIDPtr getG_signingCertificateAttribute() {
01686 long cPtr = pkif_moduleJNI.g_signingCertificateAttribute_get();
01687 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01688 }
01689
01690 public static void setG_timestampingEKU(CPKIFOIDPtr value) {
01691 pkif_moduleJNI.g_timestampingEKU_set(CPKIFOIDPtr.getCPtr(value), value);
01692 }
01693
01694 public static CPKIFOIDPtr getG_timestampingEKU() {
01695 long cPtr = pkif_moduleJNI.g_timestampingEKU_get();
01696 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01697 }
01698
01699 public static void setG_ocspSigningEKU(CPKIFOIDPtr value) {
01700 pkif_moduleJNI.g_ocspSigningEKU_set(CPKIFOIDPtr.getCPtr(value), value);
01701 }
01702
01703 public static CPKIFOIDPtr getG_ocspSigningEKU() {
01704 long cPtr = pkif_moduleJNI.g_ocspSigningEKU_get();
01705 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01706 }
01707
01708 public static void setG_anyEKU(CPKIFOIDPtr value) {
01709 pkif_moduleJNI.g_anyEKU_set(CPKIFOIDPtr.getCPtr(value), value);
01710 }
01711
01712 public static CPKIFOIDPtr getG_anyEKU() {
01713 long cPtr = pkif_moduleJNI.g_anyEKU_get();
01714 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01715 }
01716
01717 public static void setG_anyPolicyOID(CPKIFOIDPtr value) {
01718 pkif_moduleJNI.g_anyPolicyOID_set(CPKIFOIDPtr.getCPtr(value), value);
01719 }
01720
01721 public static CPKIFOIDPtr getG_anyPolicyOID() {
01722 long cPtr = pkif_moduleJNI.g_anyPolicyOID_get();
01723 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01724 }
01725
01726 public static void setG_anyPolicy(CPKIFPolicyInformationPtr value) {
01727 pkif_moduleJNI.g_anyPolicy_set(CPKIFPolicyInformationPtr.getCPtr(value), value);
01728 }
01729
01730 public static CPKIFPolicyInformationPtr getG_anyPolicy() {
01731 long cPtr = pkif_moduleJNI.g_anyPolicy_get();
01732 return (cPtr == 0) ? null : new CPKIFPolicyInformationPtr(cPtr, false);
01733 }
01734
01735 public static void setG_aiaCAIssuer(CPKIFOIDPtr value) {
01736 pkif_moduleJNI.g_aiaCAIssuer_set(CPKIFOIDPtr.getCPtr(value), value);
01737 }
01738
01739 public static CPKIFOIDPtr getG_aiaCAIssuer() {
01740 long cPtr = pkif_moduleJNI.g_aiaCAIssuer_get();
01741 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01742 }
01743
01744 public static void setG_aiaCARepository(CPKIFOIDPtr value) {
01745 pkif_moduleJNI.g_aiaCARepository_set(CPKIFOIDPtr.getCPtr(value), value);
01746 }
01747
01748 public static CPKIFOIDPtr getG_aiaCARepository() {
01749 long cPtr = pkif_moduleJNI.g_aiaCARepository_get();
01750 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01751 }
01752
01753 public static void setG_secp224r1(CPKIFOIDPtr value) {
01754 pkif_moduleJNI.g_secp224r1_set(CPKIFOIDPtr.getCPtr(value), value);
01755 }
01756
01757 public static CPKIFOIDPtr getG_secp224r1() {
01758 long cPtr = pkif_moduleJNI.g_secp224r1_get();
01759 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01760 }
01761
01762 public static void setG_secp256r1(CPKIFOIDPtr value) {
01763 pkif_moduleJNI.g_secp256r1_set(CPKIFOIDPtr.getCPtr(value), value);
01764 }
01765
01766 public static CPKIFOIDPtr getG_secp256r1() {
01767 long cPtr = pkif_moduleJNI.g_secp256r1_get();
01768 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01769 }
01770
01771 public static void setG_secp384r1(CPKIFOIDPtr value) {
01772 pkif_moduleJNI.g_secp384r1_set(CPKIFOIDPtr.getCPtr(value), value);
01773 }
01774
01775 public static CPKIFOIDPtr getG_secp384r1() {
01776 long cPtr = pkif_moduleJNI.g_secp384r1_get();
01777 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01778 }
01779
01780 public static void setG_secp521r1(CPKIFOIDPtr value) {
01781 pkif_moduleJNI.g_secp521r1_set(CPKIFOIDPtr.getCPtr(value), value);
01782 }
01783
01784 public static CPKIFOIDPtr getG_secp521r1() {
01785 long cPtr = pkif_moduleJNI.g_secp521r1_get();
01786 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
01787 }
01788
01789 public static void setG_md5AI(CPKIFAlgorithmIdentifierPtr value) {
01790 pkif_moduleJNI.g_md5AI_set(CPKIFAlgorithmIdentifierPtr.getCPtr(value), value);
01791 }
01792
01793 public static CPKIFAlgorithmIdentifierPtr getG_md5AI() {
01794 long cPtr = pkif_moduleJNI.g_md5AI_get();
01795 return (cPtr == 0) ? null : new CPKIFAlgorithmIdentifierPtr(cPtr, false);
01796 }
01797
01798 public static void setG_sha1AI(CPKIFAlgorithmIdentifierPtr value) {
01799 pkif_moduleJNI.g_sha1AI_set(CPKIFAlgorithmIdentifierPtr.getCPtr(value), value);
01800 }
01801
01802 public static CPKIFAlgorithmIdentifierPtr getG_sha1AI() {
01803 long cPtr = pkif_moduleJNI.g_sha1AI_get();
01804 return (cPtr == 0) ? null : new CPKIFAlgorithmIdentifierPtr(cPtr, false);
01805 }
01806
01807 public static void setG_sha256AI(CPKIFAlgorithmIdentifierPtr value) {
01808 pkif_moduleJNI.g_sha256AI_set(CPKIFAlgorithmIdentifierPtr.getCPtr(value), value);
01809 }
01810
01811 public static CPKIFAlgorithmIdentifierPtr getG_sha256AI() {
01812 long cPtr = pkif_moduleJNI.g_sha256AI_get();
01813 return (cPtr == 0) ? null : new CPKIFAlgorithmIdentifierPtr(cPtr, false);
01814 }
01815
01816 public static void setG_sha384AI(CPKIFAlgorithmIdentifierPtr value) {
01817 pkif_moduleJNI.g_sha384AI_set(CPKIFAlgorithmIdentifierPtr.getCPtr(value), value);
01818 }
01819
01820 public static CPKIFAlgorithmIdentifierPtr getG_sha384AI() {
01821 long cPtr = pkif_moduleJNI.g_sha384AI_get();
01822 return (cPtr == 0) ? null : new CPKIFAlgorithmIdentifierPtr(cPtr, false);
01823 }
01824
01825 public static void setG_sha512AI(CPKIFAlgorithmIdentifierPtr value) {
01826 pkif_moduleJNI.g_sha512AI_set(CPKIFAlgorithmIdentifierPtr.getCPtr(value), value);
01827 }
01828
01829 public static CPKIFAlgorithmIdentifierPtr getG_sha512AI() {
01830 long cPtr = pkif_moduleJNI.g_sha512AI_get();
01831 return (cPtr == 0) ? null : new CPKIFAlgorithmIdentifierPtr(cPtr, false);
01832 }
01833
01834 public static AlgClass GetAlgClass(CPKIFAlgorithmIdentifierPtr alg) {
01835 return AlgClass.swigToEnum(pkif_moduleJNI.GetAlgClass(CPKIFAlgorithmIdentifierPtr.getCPtr(alg), alg));
01836 }
01837
01838 public static boolean GetCACHashAlg(CPKIFOIDPtr alg, SWIGTYPE_p_PKIFCRYPTO__HASH_ALG hashAlg) {
01839 return pkif_moduleJNI.GetCACHashAlg(CPKIFOIDPtr.getCPtr(alg), alg, SWIGTYPE_p_PKIFCRYPTO__HASH_ALG.getCPtr(hashAlg));
01840 }
01841
01842 public static CPKIFAlgorithmIdentifierPtr GetHashAlgAI(HASH_ALG hashAlgorithm) {
01843 return new CPKIFAlgorithmIdentifierPtr(pkif_moduleJNI.GetHashAlgAI(hashAlgorithm.swigValue()), true);
01844 }
01845
01846 public static long BitsToBytes(long bitCount) {
01847 return pkif_moduleJNI.BitsToBytes(bitCount);
01848 }
01849
01850 public static CPKIFNamePtr GetPKIFNameFromStr(byte[] name) {
01851 return new CPKIFNamePtr(pkif_moduleJNI.GetPKIFNameFromStr(name), true);
01852 }
01853
01854 public static CPKIFGeneralNamePtr GetPKIFGenNameFromStr(byte[] name, int nameType) {
01855 return new CPKIFGeneralNamePtr(pkif_moduleJNI.GetPKIFGenNameFromStr(name, nameType), true);
01856 }
01857
01858 public static CPKIFBufferPtr GetEncGenNameFromStr(byte[] name, int nameType) {
01859 return new CPKIFBufferPtr(pkif_moduleJNI.GetEncGenNameFromStr(name, nameType), true);
01860 }
01861
01862 public static CPKIFBufferPtr EncodeCPKIFNameAsGenName(CPKIFNamePtr name) {
01863 return new CPKIFBufferPtr(pkif_moduleJNI.EncodeCPKIFNameAsGenName(CPKIFNamePtr.getCPtr(name), name), true);
01864 }
01865
01866 public static CPKIFBufferPtr EncodeGeneralName(CPKIFGeneralNamePtr gn) {
01867 return new CPKIFBufferPtr(pkif_moduleJNI.EncodeGeneralName(CPKIFGeneralNamePtr.getCPtr(gn), gn), true);
01868 }
01869
01870 public static void FormatErrorMessage(SWIGTYPE_p_std__string result, String primaryMessage, long code, String file, int lineNum) {
01871 pkif_moduleJNI.FormatErrorMessage__SWIG_0(SWIGTYPE_p_std__string.getCPtr(result), primaryMessage, code, file, lineNum);
01872 }
01873
01874 public static void FormatErrorMessage(SWIGTYPE_p_std__string result, String primaryMessage, long code, String file) {
01875 pkif_moduleJNI.FormatErrorMessage__SWIG_1(SWIGTYPE_p_std__string.getCPtr(result), primaryMessage, code, file);
01876 }
01877
01878 public static void FormatErrorMessage(SWIGTYPE_p_std__string result, String primaryMessage, long code) {
01879 pkif_moduleJNI.FormatErrorMessage__SWIG_2(SWIGTYPE_p_std__string.getCPtr(result), primaryMessage, code);
01880 }
01881
01882 public static int atob(String byteval, String ascval, SWIGTYPE_p_unsigned_int alength) {
01883 return pkif_moduleJNI.atob(byteval, ascval, SWIGTYPE_p_unsigned_int.getCPtr(alength));
01884 }
01885
01886 public static void btoa(String byteval, String ascval, long blength) {
01887 pkif_moduleJNI.btoa(byteval, ascval, blength);
01888 }
01889
01890 public static void AuditPathEvent(PathOp op, boolean succeeded, CPKIFCertificatePath path) {
01891 pkif_moduleJNI.AuditPathEvent(op.swigValue(), succeeded, CPKIFCertificatePath.getCPtr(path), path);
01892 }
01893
01894 public static boolean InitPKIF() {
01895 return pkif_moduleJNI.InitPKIF();
01896 }
01897
01898 public static void keyUsageChecker_AnyEE(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
01899 pkif_moduleJNI.keyUsageChecker_AnyEE(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
01900 }
01901
01902 public static void EKUChecker_OcspSigning(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
01903 pkif_moduleJNI.EKUChecker_OcspSigning(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
01904 }
01905
01906 public static void EKUChecker_Timestamp(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
01907 pkif_moduleJNI.EKUChecker_Timestamp(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
01908 }
01909
01910 public static CPKIFAccessDescriptionPtr make_CPKIFAccessDescriptionPtr() {
01911 return new CPKIFAccessDescriptionPtr(pkif_moduleJNI.make_CPKIFAccessDescriptionPtr(), true);
01912 }
01913
01914 public static CPKIFAlgorithmIdentifierPtr make_CPKIFAlgorithmIdentifierPtr() {
01915 return new CPKIFAlgorithmIdentifierPtr(pkif_moduleJNI.make_CPKIFAlgorithmIdentifierPtr(), true);
01916 }
01917
01918 public static CPKIFAlgorithmIdentifierPtr clone_CPKIFAlgorithmIdentifierPtr(CPKIFAlgorithmIdentifier t) {
01919 return new CPKIFAlgorithmIdentifierPtr(pkif_moduleJNI.clone_CPKIFAlgorithmIdentifierPtr(CPKIFAlgorithmIdentifier.getCPtr(t), t), true);
01920 }
01921
01922 public static CPKIFAuthorityInfoAccessPtr make_CPKIFAuthorityInfoAccessPtr() {
01923 return new CPKIFAuthorityInfoAccessPtr(pkif_moduleJNI.make_CPKIFAuthorityInfoAccessPtr(), true);
01924 }
01925
01926 public static CPKIFAuthorityKeyIdentifierPtr make_CPKIFAuthorityKeyIdentifierPtr() {
01927 return new CPKIFAuthorityKeyIdentifierPtr(pkif_moduleJNI.make_CPKIFAuthorityKeyIdentifierPtr(), true);
01928 }
01929
01930 public static CPKIFBasicConstraintsPtr make_CPKIFBasicConstraintsPtr() {
01931 return new CPKIFBasicConstraintsPtr(pkif_moduleJNI.make_CPKIFBasicConstraintsPtr(), true);
01932 }
01933
01934 public static CPKIFBufferPtr make_CPKIFBufferPtr() {
01935 return new CPKIFBufferPtr(pkif_moduleJNI.make_CPKIFBufferPtr(), true);
01936 }
01937
01938 public static CPKIFBufferPtr clone_CPKIFBufferPtr(CPKIFBuffer t) {
01939 return new CPKIFBufferPtr(pkif_moduleJNI.clone_CPKIFBufferPtr(CPKIFBuffer.getCPtr(t), t), true);
01940 }
01941
01942 public static boolean IsCaCertificate(CPKIFCertificatePtr cert) {
01943 return pkif_moduleJNI.IsCaCertificate(CPKIFCertificatePtr.getCPtr(cert), cert);
01944 }
01945
01946 public static CPKIFCertificatePtr make_CPKIFCertificatePtr() {
01947 return new CPKIFCertificatePtr(pkif_moduleJNI.make_CPKIFCertificatePtr(), true);
01948 }
01949
01950 public static CPKIFCertificateIssuerPtr make_CPKIFCertificateIssuerPtr() {
01951 return new CPKIFCertificateIssuerPtr(pkif_moduleJNI.make_CPKIFCertificateIssuerPtr(), true);
01952 }
01953
01954 public static CPKIFCRLPtr make_CPKIFCRLPtr() {
01955 return new CPKIFCRLPtr(pkif_moduleJNI.make_CPKIFCRLPtr(), true);
01956 }
01957
01958 public static CPKIFCRLDistributionPointPtr make_CPKIFCRLDistributionPointPtr() {
01959 return new CPKIFCRLDistributionPointPtr(pkif_moduleJNI.make_CPKIFCRLDistributionPointPtr(), true);
01960 }
01961
01962 public static CPKIFCRLDistributionPointsPtr make_CPKIFCRLDistributionPointsPtr() {
01963 return new CPKIFCRLDistributionPointsPtr(pkif_moduleJNI.make_CPKIFCRLDistributionPointsPtr(), true);
01964 }
01965
01966 public static CPKIFCRLEntryPtr make_CPKIFCRLEntryPtr() {
01967 return new CPKIFCRLEntryPtr(pkif_moduleJNI.make_CPKIFCRLEntryPtr(), true);
01968 }
01969
01970 public static CPKIFCRLNumberPtr make_CPKIFCRLNumberPtr() {
01971 return new CPKIFCRLNumberPtr(pkif_moduleJNI.make_CPKIFCRLNumberPtr(), true);
01972 }
01973
01974 public static CPKIFCRLReasonPtr make_CPKIFCRLReasonPtr() {
01975 return new CPKIFCRLReasonPtr(pkif_moduleJNI.make_CPKIFCRLReasonPtr(), true);
01976 }
01977
01978 public static CPKIFDeltaCRLIndicatorPtr make_CPKIFDeltaCRLIndicatorPtr() {
01979 return new CPKIFDeltaCRLIndicatorPtr(pkif_moduleJNI.make_CPKIFDeltaCRLIndicatorPtr(), true);
01980 }
01981
01982 public static CPKIFDistributionPointNamePtr make_CPKIFDistributionPointNamePtr() {
01983 return new CPKIFDistributionPointNamePtr(pkif_moduleJNI.make_CPKIFDistributionPointNamePtr(), true);
01984 }
01985
01986 public static CPKIFDurationPtr make_CPKIFDurationPtr() {
01987 return new CPKIFDurationPtr(pkif_moduleJNI.make_CPKIFDurationPtr(), true);
01988 }
01989
01990 public static CPKIFExtendedKeyUsagePtr make_CPKIFExtendedKeyUsagePtr() {
01991 return new CPKIFExtendedKeyUsagePtr(pkif_moduleJNI.make_CPKIFExtendedKeyUsagePtr(), true);
01992 }
01993
01994 public static CPKIFFreshestCRLPtr make_CPKIFFreshestCRLPtr() {
01995 return new CPKIFFreshestCRLPtr(pkif_moduleJNI.make_CPKIFFreshestCRLPtr(), true);
01996 }
01997
01998 public static CPKIFGeneralNamePtr make_CPKIFGeneralNamePtr() {
01999 return new CPKIFGeneralNamePtr(pkif_moduleJNI.make_CPKIFGeneralNamePtr(), true);
02000 }
02001
02002 public static CPKIFGeneralNamePtr make_Null_CPKIFGeneralNamePtr() {
02003 return new CPKIFGeneralNamePtr(pkif_moduleJNI.make_Null_CPKIFGeneralNamePtr(), true);
02004 }
02005
02006 public static CPKIFGeneralNameListPtr make_CPKIFGeneralNameListPtr() {
02007 return new CPKIFGeneralNameListPtr(pkif_moduleJNI.make_CPKIFGeneralNameListPtr(), true);
02008 }
02009
02010 public static CPKIFGeneralSubtreePtr make_CPKIFGeneralSubtreePtr() {
02011 return new CPKIFGeneralSubtreePtr(pkif_moduleJNI.make_CPKIFGeneralSubtreePtr(), true);
02012 }
02013
02014 public static CPKIFGeneralSubtreeListPtr make_CPKIFGeneralSubtreeListPtr() {
02015 return new CPKIFGeneralSubtreeListPtr(pkif_moduleJNI.make_CPKIFGeneralSubtreeListPtr(), true);
02016 }
02017
02018 public static CPKIFHoldInstructionCodePtr make_CPKIFHoldInstructionCodePtr() {
02019 return new CPKIFHoldInstructionCodePtr(pkif_moduleJNI.make_CPKIFHoldInstructionCodePtr(), true);
02020 }
02021
02022 public static CPKIFInhibitAnyPolicyPtr make_CPKIFInhibitAnyPolicyPtr() {
02023 return new CPKIFInhibitAnyPolicyPtr(pkif_moduleJNI.make_CPKIFInhibitAnyPolicyPtr(), true);
02024 }
02025
02026 public static CPKIFInvalidityDatePtr make_CPKIFInvalidityDatePtr() {
02027 return new CPKIFInvalidityDatePtr(pkif_moduleJNI.make_CPKIFInvalidityDatePtr(), true);
02028 }
02029
02030 public static CPKIFIssuerAltNamePtr make_CPKIFIssuerAltNamePtr() {
02031 return new CPKIFIssuerAltNamePtr(pkif_moduleJNI.make_CPKIFIssuerAltNamePtr(), true);
02032 }
02033
02034 public static CPKIFIssuingDistributionPointPtr make_CPKIFIssuingDistributionPointPtr() {
02035 return new CPKIFIssuingDistributionPointPtr(pkif_moduleJNI.make_CPKIFIssuingDistributionPointPtr(), true);
02036 }
02037
02038 public static CPKIFKeyUsagePtr make_CPKIFKeyUsagePtr() {
02039 return new CPKIFKeyUsagePtr(pkif_moduleJNI.make_CPKIFKeyUsagePtr(), true);
02040 }
02041
02042 public static CPKIFNamePtr make_CPKIFNamePtr() {
02043 return new CPKIFNamePtr(pkif_moduleJNI.make_CPKIFNamePtr(), true);
02044 }
02045
02046 public static CPKIFNameConstraintsPtr make_CPKIFNameConstraintsPtr() {
02047 return new CPKIFNameConstraintsPtr(pkif_moduleJNI.make_CPKIFNameConstraintsPtr(), true);
02048 }
02049
02050 public static CPKIFOIDPtr make_CPKIFOIDPtr() {
02051 return new CPKIFOIDPtr(pkif_moduleJNI.make_CPKIFOIDPtr(), true);
02052 }
02053
02054 public static CPKIFOIDPtr clone_CPKIFOIDPtr(CPKIFOID t) {
02055 return new CPKIFOIDPtr(pkif_moduleJNI.clone_CPKIFOIDPtr(CPKIFOID.getCPtr(t), t), true);
02056 }
02057
02058 public static void gregorian_to_JD0(int year_, int month_, int dom_, SWIGTYPE_p_int jd0_) {
02059 pkif_moduleJNI.gregorian_to_JD0(year_, month_, dom_, SWIGTYPE_p_int.getCPtr(jd0_));
02060 }
02061
02062 public static void JD0_to_gregorian(int jd0_, SWIGTYPE_p_int year_, SWIGTYPE_p_int month_, SWIGTYPE_p_int dom_) {
02063 pkif_moduleJNI.JD0_to_gregorian(jd0_, SWIGTYPE_p_int.getCPtr(year_), SWIGTYPE_p_int.getCPtr(month_), SWIGTYPE_p_int.getCPtr(dom_));
02064 }
02065
02066 public static int JD0_to_DOW_index(double jd0_) {
02067 return pkif_moduleJNI.JD0_to_DOW_index(jd0_);
02068 }
02069
02070 public static CPKIFTimePtr make_CPKIFTimePtr() {
02071 return new CPKIFTimePtr(pkif_moduleJNI.make_CPKIFTimePtr(), true);
02072 }
02073
02074 public static CPKIFTimePtr clone_CPKIFTimePtr(CPKIFTime t) {
02075 return new CPKIFTimePtr(pkif_moduleJNI.clone_CPKIFTimePtr(CPKIFTime.getCPtr(t), t), true);
02076 }
02077
02078 public static CPKIFPolicyConstraintsPtr make_CPKIFPolicyConstraintsPtr() {
02079 return new CPKIFPolicyConstraintsPtr(pkif_moduleJNI.make_CPKIFPolicyConstraintsPtr(), true);
02080 }
02081
02082 public static CPKIFPolicyInformationPtr make_CPKIFPolicyInformationPtr() {
02083 return new CPKIFPolicyInformationPtr(pkif_moduleJNI.make_CPKIFPolicyInformationPtr(), true);
02084 }
02085
02086 public static CPKIFPolicyInformationListPtr make_CPKIFPolicyInformationListPtr() {
02087 return new CPKIFPolicyInformationListPtr(pkif_moduleJNI.make_CPKIFPolicyInformationListPtr(), true);
02088 }
02089
02090 public static CPKIFPolicyInformationPtr clone_CPKIFPolicyInformationPtr(CPKIFPolicyInformation t) {
02091 return new CPKIFPolicyInformationPtr(pkif_moduleJNI.clone_CPKIFPolicyInformationPtr(CPKIFPolicyInformation.getCPtr(t), t), true);
02092 }
02093
02094 public static CPKIFPolicyInformationSetPtr make_CPKIFPolicyInformationSetPtr() {
02095 return new CPKIFPolicyInformationSetPtr(pkif_moduleJNI.make_CPKIFPolicyInformationSetPtr(), true);
02096 }
02097
02098 public static CPKIFPolicyMappingPtr make_CPKIFPolicyMappingPtr() {
02099 return new CPKIFPolicyMappingPtr(pkif_moduleJNI.make_CPKIFPolicyMappingPtr(), true);
02100 }
02101
02102 public static CPKIFPolicyMappingsPtr make_CPKIFPolicyMappingsPtr() {
02103 return new CPKIFPolicyMappingsPtr(pkif_moduleJNI.make_CPKIFPolicyMappingsPtr(), true);
02104 }
02105
02106 public static CPKIFPolicyQualifierPtr make_CPKIFPolicyQualifierPtr() {
02107 return new CPKIFPolicyQualifierPtr(pkif_moduleJNI.make_CPKIFPolicyQualifierPtr(), true);
02108 }
02109
02110 public static CPKIFPolicyQualifierListPtr make_CPKIFPolicyQualifierListPtr() {
02111 return new CPKIFPolicyQualifierListPtr(pkif_moduleJNI.make_CPKIFPolicyQualifierListPtr(), true);
02112 }
02113
02114 public static CPKIFPrivateKeyUsagePtr make_CPKIFPrivateKeyUsagePtr() {
02115 return new CPKIFPrivateKeyUsagePtr(pkif_moduleJNI.make_CPKIFPrivateKeyUsagePtr(), true);
02116 }
02117
02118 public static CPKIFReasonFlagsPtr make_CPKIFReasonFlagsPtr() {
02119 return new CPKIFReasonFlagsPtr(pkif_moduleJNI.make_CPKIFReasonFlagsPtr(), true);
02120 }
02121
02122 public static CPKIFSubjectAltNamePtr make_CPKIFSubjectAltNamePtr() {
02123 return new CPKIFSubjectAltNamePtr(pkif_moduleJNI.make_CPKIFSubjectAltNamePtr(), true);
02124 }
02125
02126 public static CPKIFSubjectKeyIdentifierPtr make_CPKIFSubjectKeyIdentifierPtr() {
02127 return new CPKIFSubjectKeyIdentifierPtr(pkif_moduleJNI.make_CPKIFSubjectKeyIdentifierPtr(), true);
02128 }
02129
02130 public static CPKIFSubjectPublicKeyInfoPtr make_CPKIFSubjectPublicKeyInfoPtr() {
02131 return new CPKIFSubjectPublicKeyInfoPtr(pkif_moduleJNI.make_CPKIFSubjectPublicKeyInfoPtr(), true);
02132 }
02133
02134 public static CPKIFValidityPtr make_CPKIFValidityPtr() {
02135 return new CPKIFValidityPtr(pkif_moduleJNI.make_CPKIFValidityPtr(), true);
02136 }
02137
02138 public static CPKIFX509ExtensionPtr make_CPKIFX509ExtensionPtr() {
02139 return new CPKIFX509ExtensionPtr(pkif_moduleJNI.make_CPKIFX509ExtensionPtr(), true);
02140 }
02141
02142 public static CPKIFAttributePtr make_CPKIFAttributePtr() {
02143 return new CPKIFAttributePtr(pkif_moduleJNI.make_CPKIFAttributePtr(), true);
02144 }
02145
02146 public static CPKIFContentInfoPtr make_CPKIFContentInfoPtr() {
02147 return new CPKIFContentInfoPtr(pkif_moduleJNI.make_CPKIFContentInfoPtr(), true);
02148 }
02149
02150 public static CPKIFContentTypeAttributePtr make_CPKIFContentTypeAttributePtr() {
02151 return new CPKIFContentTypeAttributePtr(pkif_moduleJNI.make_CPKIFContentTypeAttributePtr(), true);
02152 }
02153
02154 public static CPKIFCountersignatureAttributePtr make_CPKIFCountersignatureAttributePtr() {
02155 return new CPKIFCountersignatureAttributePtr(pkif_moduleJNI.make_CPKIFCountersignatureAttributePtr(), true);
02156 }
02157
02158 public static CPKIFEncapsulatedContentInfoPtr make_CPKIFEncapsulatedContentInfoPtr() {
02159 return new CPKIFEncapsulatedContentInfoPtr(pkif_moduleJNI.make_CPKIFEncapsulatedContentInfoPtr(), true);
02160 }
02161
02162 public static CPKIFEncryptedContentInfoPtr make_CPKIFEncryptedContentInfoPtr() {
02163 return new CPKIFEncryptedContentInfoPtr(pkif_moduleJNI.make_CPKIFEncryptedContentInfoPtr(), true);
02164 }
02165
02166 public static CPKIFIssuerAndSerialNumberPtr make_CPKIFIssuerAndSerialNumberPtr() {
02167 return new CPKIFIssuerAndSerialNumberPtr(pkif_moduleJNI.make_CPKIFIssuerAndSerialNumberPtr(), true);
02168 }
02169
02170 public static CPKIFKEKRecipInfoDetailsPtr make_CPKIFKEKRecipInfoDetailsPtr() {
02171 return new CPKIFKEKRecipInfoDetailsPtr(pkif_moduleJNI.make_CPKIFKEKRecipInfoDetailsPtr(), true);
02172 }
02173
02174 public static CPKIFKeyTransRecipientInfoPtr make_CPKIFKeyTransRecipientInfoPtr() {
02175 return new CPKIFKeyTransRecipientInfoPtr(pkif_moduleJNI.make_CPKIFKeyTransRecipientInfoPtr(), true);
02176 }
02177
02178 public static CPKIFMessageDigestAttributePtr make_CPKIFMessageDigestAttributePtr() {
02179 return new CPKIFMessageDigestAttributePtr(pkif_moduleJNI.make_CPKIFMessageDigestAttributePtr(), true);
02180 }
02181
02182 public static CPKIFParallelHashPtr make_CPKIFParallelHashPtr() {
02183 return new CPKIFParallelHashPtr(pkif_moduleJNI.make_CPKIFParallelHashPtr(), true);
02184 }
02185
02186 public static void keyUsageChecker_Signature(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
02187 pkif_moduleJNI.keyUsageChecker_Signature(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
02188 }
02189
02190 public static void keyUsageChecker_Encryption(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
02191 pkif_moduleJNI.keyUsageChecker_Encryption(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
02192 }
02193
02194 public static void keyUsageChecker_KeyAgreement(CPKIFCertificateNodeEntryPtr certNode, CPKIFPathValidationResults results, CertificateType type) {
02195 pkif_moduleJNI.keyUsageChecker_KeyAgreement(CPKIFCertificateNodeEntryPtr.getCPtr(certNode), certNode, CPKIFPathValidationResults.getCPtr(results), results, type.swigValue());
02196 }
02197
02198 public static CPKIFBufferPtr Countersign(CPKIFSignerInfoPtr siToCounterSign, CPKIFSignerInfoPtr countersignerSI, IPKIFColleaguePtr mediator) {
02199 return new CPKIFBufferPtr(pkif_moduleJNI.Countersign(CPKIFSignerInfoPtr.getCPtr(siToCounterSign), siToCounterSign, CPKIFSignerInfoPtr.getCPtr(countersignerSI), countersignerSI, IPKIFColleaguePtr.getCPtr(mediator), mediator), true);
02200 }
02201
02202 public static void VerifyCounterSignatures(SWIGTYPE_p_boost__shared_ptrT_CPKIFSignedData_t sd, CPKIFSignerInfoPtr si, IPKIFColleaguePtr mediator, CPKIFPathSettingsPtr settings, CPKIFSignerInfos sis, SWIGTYPE_p_std__vectorT_CMSVerificationStatus_t status, CPKIFCertificateList certVector, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificatePath_t_t pathVector) {
02203 pkif_moduleJNI.VerifyCounterSignatures(SWIGTYPE_p_boost__shared_ptrT_CPKIFSignedData_t.getCPtr(sd), CPKIFSignerInfoPtr.getCPtr(si), si, IPKIFColleaguePtr.getCPtr(mediator), mediator, CPKIFPathSettingsPtr.getCPtr(settings), settings, CPKIFSignerInfos.getCPtr(sis), sis, SWIGTYPE_p_std__vectorT_CMSVerificationStatus_t.getCPtr(status), CPKIFCertificateList.getCPtr(certVector), certVector, SWIGTYPE_p_std__vectorT_boost__shared_ptrT_CPKIFCertificatePath_t_t.getCPtr(pathVector));
02204 }
02205
02206 public static CPKIFRecipientInfoPtr make_CPKIFRecipientInfoPtr() {
02207 return new CPKIFRecipientInfoPtr(pkif_moduleJNI.make_CPKIFRecipientInfoPtr(), true);
02208 }
02209
02210 public static CPKIFSignerInfoPtr make_CPKIFSignerInfoPtr() {
02211 return new CPKIFSignerInfoPtr(pkif_moduleJNI.make_CPKIFSignerInfoPtr(), true);
02212 }
02213
02214 public static CPKIFSigningTimeAttributePtr make_CPKIFSigningTimeAttributePtr() {
02215 return new CPKIFSigningTimeAttributePtr(pkif_moduleJNI.make_CPKIFSigningTimeAttributePtr(), true);
02216 }
02217
02218 public static CPKIFTimestampAttributePtr make_CPKIFTimestampAttributePtr() {
02219 return new CPKIFTimestampAttributePtr(pkif_moduleJNI.make_CPKIFTimestampAttributePtr(), true);
02220 }
02221
02222 public static CPKIFAccuracyPtr make_CPKIFAccuracyPtr() {
02223 return new CPKIFAccuracyPtr(pkif_moduleJNI.make_CPKIFAccuracyPtr(), true);
02224 }
02225
02226 public static CPKIFMessageImprintPtr make_CPKIFMessageImprintPtr() {
02227 return new CPKIFMessageImprintPtr(pkif_moduleJNI.make_CPKIFMessageImprintPtr(), true);
02228 }
02229
02230 public static void setG_tstInfo(CPKIFOIDPtr value) {
02231 pkif_moduleJNI.g_tstInfo_set(CPKIFOIDPtr.getCPtr(value), value);
02232 }
02233
02234 public static CPKIFOIDPtr getG_tstInfo() {
02235 long cPtr = pkif_moduleJNI.g_tstInfo_get();
02236 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
02237 }
02238
02239 public static void setG_tsReq(CPKIFOIDPtr value) {
02240 pkif_moduleJNI.g_tsReq_set(CPKIFOIDPtr.getCPtr(value), value);
02241 }
02242
02243 public static CPKIFOIDPtr getG_tsReq() {
02244 long cPtr = pkif_moduleJNI.g_tsReq_get();
02245 return (cPtr == 0) ? null : new CPKIFOIDPtr(cPtr, false);
02246 }
02247
02248 public static CPKIFPKIStatusInfoPtr make_CPKIFPKIStatusInfoPtr() {
02249 return new CPKIFPKIStatusInfoPtr(pkif_moduleJNI.make_CPKIFPKIStatusInfoPtr(), true);
02250 }
02251
02252 public static IPKIFTrustAnchorPtr make_Null_IPKIFTrustAnchorPtr() {
02253 return new IPKIFTrustAnchorPtr(pkif_moduleJNI.make_Null_IPKIFTrustAnchorPtr(), true);
02254 }
02255
02256 public static CPKIFCredentialPtr GetCredential(IPKIFColleaguePtr m, String credBuf) {
02257 return new CPKIFCredentialPtr(pkif_moduleJNI.GetCredential(IPKIFColleaguePtr.getCPtr(m), m, credBuf), true);
02258 }
02259
02260 }