CPKIFCryptoMediator2Ptr.java

Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.1
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package com.orionsec.jpkif;
00010 
00011 public class CPKIFCryptoMediator2Ptr {
00012   private long swigCPtr;
00013   protected boolean swigCMemOwn;
00014 
00015   public CPKIFCryptoMediator2Ptr(long cPtr, boolean cMemoryOwn) {
00016     swigCMemOwn = cMemoryOwn;
00017     swigCPtr = cPtr;
00018   }
00019 
00020   public static long getCPtr(CPKIFCryptoMediator2Ptr obj) {
00021     return (obj == null) ? 0 : obj.swigCPtr;
00022   }
00023 
00024   protected void finalize() {
00025     delete();
00026   }
00027 
00028   public synchronized void delete() {
00029     if (swigCPtr != 0) {
00030       if (swigCMemOwn) {
00031         swigCMemOwn = false;
00032         pkif_moduleJNI.delete_CPKIFCryptoMediator2Ptr(swigCPtr);
00033       }
00034       swigCPtr = 0;
00035     }
00036   }
00037 
00038   public void reset() {
00039     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_reset(swigCPtr, this);
00040   }
00041 
00042   public CPKIFCryptoMediator2 __deref__() {
00043     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr___deref__(swigCPtr, this);
00044     return (cPtr == 0) ? null : new CPKIFCryptoMediator2(cPtr, false);
00045   }
00046 
00047   public CPKIFCryptoMediator2 get() {
00048     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_get(swigCPtr, this);
00049     return (cPtr == 0) ? null : new CPKIFCryptoMediator2(cPtr, false);
00050   }
00051 
00052   public boolean unique() {
00053     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_unique(swigCPtr, this);
00054   }
00055 
00056   public int use_count() {
00057     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_use_count(swigCPtr, this);
00058   }
00059 
00060   public void swap(CPKIFCryptoMediator2Ptr other) {
00061     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_swap(swigCPtr, this, CPKIFCryptoMediator2Ptr.getCPtr(other), other);
00062   }
00063 
00064   public SWIGTYPE_p_void _internal_get_deleter(SWIGTYPE_p_boost__detail__sp_typeinfo ti) {
00065     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr__internal_get_deleter(swigCPtr, this, SWIGTYPE_p_boost__detail__sp_typeinfo.getCPtr(ti));
00066     return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
00067   }
00068 
00069   public boolean _internal_equiv(CPKIFCryptoMediator2Ptr r) {
00070     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr__internal_equiv(swigCPtr, this, CPKIFCryptoMediator2Ptr.getCPtr(r), r);
00071   }
00072 
00073   public void InitializeMediator(SWIGTYPE_p_std__vectorT_CPKIFException_p_t errorInfo) {
00074     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_InitializeMediator(swigCPtr, this, SWIGTYPE_p_std__vectorT_CPKIFException_p_t.getCPtr(errorInfo));
00075   }
00076 
00077   public void Terminate() {
00078     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Terminate(swigCPtr, this);
00079   }
00080 
00081   public void Initialize() {
00082     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Initialize(swigCPtr, this);
00083   }
00084 
00085   public void GetColleagues(IPKIFColleagueList v) {
00086     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetColleagues(swigCPtr, this, IPKIFColleagueList.getCPtr(v), v);
00087   }
00088 
00089   public void AddColleague(IPKIFColleaguePtr module) {
00090     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_AddColleague(swigCPtr, this, IPKIFColleaguePtr.getCPtr(module), module);
00091   }
00092 
00093   public CPKIFCredentialPtr SetDefaultKey(String asciiHexKeyID, DefaultKeyType op) {
00094     return new CPKIFCredentialPtr(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SetDefaultKey(swigCPtr, this, asciiHexKeyID, op.swigValue()), true);
00095   }
00096 
00097   public CPKIFCredentialPtr GetDefaultKey(DefaultKeyType op) {
00098     return new CPKIFCredentialPtr(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetDefaultKey(swigCPtr, this, op.swigValue()), true);
00099   }
00100 
00101   public void GenRandom(byte[] buf, int len) {
00102     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GenRandom(swigCPtr, this, buf, len);
00103   }
00104 
00105   public IPKIFHashContext HashInit(HASH_ALG alg) {
00106     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HashInit(swigCPtr, this, alg.swigValue());
00107     return (cPtr == 0) ? null : new IPKIFHashContext(cPtr, false);
00108   }
00109 
00110   public void HashUpdate(IPKIFHashContext hash, byte[] pData, int nDataLen) {
00111     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HashUpdate(swigCPtr, this, IPKIFHashContext.getCPtr(hash), hash, pData, nDataLen);
00112   }
00113 
00114   public void HashFinal(IPKIFHashContext hash, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00115     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HashFinal(swigCPtr, this, IPKIFHashContext.getCPtr(hash), hash, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00116   }
00117 
00118   public void Sign(CPKIFCredential key, byte[] pHashData, int nHashDataLen, byte[] pSignature, SWIGTYPE_p_int nSignatureLen, HASH_ALG hashAlg) {
00119     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Sign__SWIG_0(swigCPtr, this, CPKIFCredential.getCPtr(key), key, pHashData, nHashDataLen, pSignature, SWIGTYPE_p_int.getCPtr(nSignatureLen), hashAlg.swigValue());
00120   }
00121 
00122   public void Sign(CPKIFCredentialPtr key, byte[] pHashData, int nHashDataLen, byte[] pSignature, SWIGTYPE_p_int nSignatureLen, HASH_ALG hashAlg) {
00123     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Sign__SWIG_1(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key, pHashData, nHashDataLen, pSignature, SWIGTYPE_p_int.getCPtr(nSignatureLen), hashAlg.swigValue());
00124   }
00125 
00126   public void Sign(CPKIFKeyMaterial key, byte[] pHashData, int nHashDataLen, byte[] pSignature, SWIGTYPE_p_int nSignatureLen, HASH_ALG hashAlg) {
00127     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Sign__SWIG_2(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pHashData, nHashDataLen, pSignature, SWIGTYPE_p_int.getCPtr(nSignatureLen), hashAlg.swigValue());
00128   }
00129 
00130   public void Decrypt(CPKIFCredential key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00131     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_0(swigCPtr, this, CPKIFCredential.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00132   }
00133 
00134   public void Decrypt(IPKIFCryptContext cryptContext, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean arg5) {
00135     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_1(swigCPtr, this, IPKIFCryptContext.getCPtr(cryptContext), cryptContext, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), arg5);
00136   }
00137 
00138   public void Decrypt(CPKIFCredentialPtr key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00139     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_2(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00140   }
00141 
00142   public void Decrypt(CPKIFKeyMaterial key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean pad) {
00143     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_3(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), pad);
00144   }
00145 
00146   public void Decrypt(CPKIFKeyMaterial key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00147     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_4(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00148   }
00149 
00150   public void Decrypt(IPKIFRawCryptContext cryptContext, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean arg5) {
00151     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Decrypt__SWIG_5(swigCPtr, this, IPKIFRawCryptContext.getCPtr(cryptContext), cryptContext, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), arg5);
00152   }
00153 
00154   public void Encrypt(CPKIFCredential key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00155     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_0(swigCPtr, this, CPKIFCredential.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00156   }
00157 
00158   public void Encrypt(IPKIFCryptContext cryptContext, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean arg5) {
00159     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_1(swigCPtr, this, IPKIFCryptContext.getCPtr(cryptContext), cryptContext, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), arg5);
00160   }
00161 
00162   public void Encrypt(CPKIFCredentialPtr key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00163     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_2(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00164   }
00165 
00166   public void Encrypt(CPKIFKeyMaterial key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean pad) {
00167     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_3(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), pad);
00168   }
00169 
00170   public void Encrypt(CPKIFKeyMaterial key, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00171     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_4(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00172   }
00173 
00174   public void Encrypt(IPKIFRawCryptContext cryptContext, byte[] pData, int nDataLen, byte[] pResult, SWIGTYPE_p_int pnResultLen, boolean arg5) {
00175     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Encrypt__SWIG_5(swigCPtr, this, IPKIFRawCryptContext.getCPtr(cryptContext), cryptContext, pData, nDataLen, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen), arg5);
00176   }
00177 
00178   public boolean Verify(CPKIFCredential key, byte[] pHashData, int nHashDataLen, byte[] pSignature, int nSignatureLen, HASH_ALG hashAlg) {
00179     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Verify__SWIG_0(swigCPtr, this, CPKIFCredential.getCPtr(key), key, pHashData, nHashDataLen, pSignature, nSignatureLen, hashAlg.swigValue());
00180   }
00181 
00182   public boolean Verify(CPKIFCredentialPtr key, byte[] pHashData, int nHashDataLen, byte[] pSignature, int nSignatureLen, HASH_ALG hashAlg) {
00183     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Verify__SWIG_1(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key, pHashData, nHashDataLen, pSignature, nSignatureLen, hashAlg.swigValue());
00184   }
00185 
00186   public boolean Verify(CPKIFKeyMaterial key, byte[] pHashData, int nHashDataLen, byte[] pSignature, int nSignatureLen, HASH_ALG hashAlg) {
00187     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_Verify__SWIG_2(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pHashData, nHashDataLen, pSignature, nSignatureLen, hashAlg.swigValue());
00188   }
00189 
00190   public void GetKeyList(CPKIFCredentialList v, SWIGTYPE_p_std__bitsetT_9_t ku) {
00191     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetKeyList__SWIG_0(swigCPtr, this, CPKIFCredentialList.getCPtr(v), v, SWIGTYPE_p_std__bitsetT_9_t.getCPtr(ku));
00192   }
00193 
00194   public void GetKeyList(CPKIFCredentialList v) {
00195     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetKeyList__SWIG_1(swigCPtr, this, CPKIFCredentialList.getCPtr(v), v);
00196   }
00197 
00198   public void GetKeyList(CPKIFCredentialList v, CPKIFKeyUsagePtr ku) {
00199     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetKeyList__SWIG_2(swigCPtr, this, CPKIFCredentialList.getCPtr(v), v, CPKIFKeyUsagePtr.getCPtr(ku), ku);
00200   }
00201 
00202   public IPKIFCryptContext CryptInit(CPKIFCredentialPtr key, boolean pad) {
00203     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_CryptInit__SWIG_0(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key, pad);
00204     return (cPtr == 0) ? null : new IPKIFCryptContext(cPtr, false);
00205   }
00206 
00207   public IPKIFCryptContext CryptInit(CPKIFCredentialPtr key) {
00208     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_CryptInit__SWIG_1(swigCPtr, this, CPKIFCredentialPtr.getCPtr(key), key);
00209     return (cPtr == 0) ? null : new IPKIFCryptContext(cPtr, false);
00210   }
00211 
00212   public IPKIFRawCryptContext CryptInit(CPKIFKeyMaterial key, boolean pad) {
00213     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_CryptInit__SWIG_2(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, pad);
00214     return (cPtr == 0) ? null : new IPKIFRawCryptContext(cPtr, false);
00215   }
00216 
00217   public IPKIFRawCryptContext CryptInit(CPKIFKeyMaterial key) {
00218     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_CryptInit__SWIG_3(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key);
00219     return (cPtr == 0) ? null : new IPKIFRawCryptContext(cPtr, false);
00220   }
00221 
00222   public boolean VerifyCertificate(CPKIFCertificate issCert, CPKIFCertificate subCert) {
00223     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_VerifyCertificate(swigCPtr, this, CPKIFCertificate.getCPtr(issCert), issCert, CPKIFCertificate.getCPtr(subCert), subCert);
00224   }
00225 
00226   public IPKIFRawCryptContext HMACInit(CPKIFKeyMaterial key, HASH_ALG ha) {
00227     long cPtr = pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HMACInit(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key, ha.swigValue());
00228     return (cPtr == 0) ? null : new IPKIFRawCryptContext(cPtr, false);
00229   }
00230 
00231   public void HMACUpdate(IPKIFRawCryptContext ctx, byte[] pData, int nDataLen) {
00232     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HMACUpdate(swigCPtr, this, IPKIFRawCryptContext.getCPtr(ctx), ctx, pData, nDataLen);
00233   }
00234 
00235   public void HMACFinal(IPKIFRawCryptContext ctx, byte[] pResult, SWIGTYPE_p_int pnResultLen) {
00236     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_HMACFinal(swigCPtr, this, IPKIFRawCryptContext.getCPtr(ctx), ctx, pResult, SWIGTYPE_p_int.getCPtr(pnResultLen));
00237   }
00238 
00239   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFCertificatePtr theirCert, CPKIFAlgorithm alg) {
00240     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_0(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFCertificatePtr.getCPtr(theirCert), theirCert, CPKIFAlgorithm.getCPtr(alg), alg), true);
00241   }
00242 
00243   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFBufferPtr theirPublicKey, CPKIFAlgorithm alg) {
00244     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_1(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFBufferPtr.getCPtr(theirPublicKey), theirPublicKey, CPKIFAlgorithm.getCPtr(alg), alg), true);
00245   }
00246 
00247   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFCredentialPtr ephemeralKeyPair, CPKIFCertificatePtr theirCert, CPKIFAlgorithm alg) {
00248     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_2(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFCredentialPtr.getCPtr(ephemeralKeyPair), ephemeralKeyPair, CPKIFCertificatePtr.getCPtr(theirCert), theirCert, CPKIFAlgorithm.getCPtr(alg), alg), true);
00249   }
00250 
00251   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFCredentialPtr ephemeralKeyPair, CPKIFBufferPtr theirPublicKey, CPKIFAlgorithm alg) {
00252     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_3(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFCredentialPtr.getCPtr(ephemeralKeyPair), ephemeralKeyPair, CPKIFBufferPtr.getCPtr(theirPublicKey), theirPublicKey, CPKIFAlgorithm.getCPtr(alg), alg), true);
00253   }
00254 
00255   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFBufferPtr ephemeralPublicKey, CPKIFCertificatePtr theirCert, CPKIFAlgorithm alg) {
00256     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_4(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFBufferPtr.getCPtr(ephemeralPublicKey), ephemeralPublicKey, CPKIFCertificatePtr.getCPtr(theirCert), theirCert, CPKIFAlgorithm.getCPtr(alg), alg), true);
00257   }
00258 
00259   public SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t SecretAgree(CPKIFCredentialPtr myPrivateKey, CPKIFBufferPtr ephemeralPublicKey, CPKIFBufferPtr theirPublicKey, CPKIFAlgorithm alg) {
00260     return new SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SecretAgree__SWIG_5(swigCPtr, this, CPKIFCredentialPtr.getCPtr(myPrivateKey), myPrivateKey, CPKIFBufferPtr.getCPtr(ephemeralPublicKey), ephemeralPublicKey, CPKIFBufferPtr.getCPtr(theirPublicKey), theirPublicKey, CPKIFAlgorithm.getCPtr(alg), alg), true);
00261   }
00262 
00263   public CPKIFKeyMaterialPtr DeriveKey(SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t context, long keyLen) {
00264     return new CPKIFKeyMaterialPtr(pkif_moduleJNI.CPKIFCryptoMediator2Ptr_DeriveKey(swigCPtr, this, SWIGTYPE_p_boost__shared_ptrT_IPKIFKeyAgreeContext_t.getCPtr(context), keyLen), true);
00265   }
00266 
00267   public boolean SupportsAlgorithm(CPKIFKeyMaterial key) {
00268     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_SupportsAlgorithm(swigCPtr, this, CPKIFKeyMaterial.getCPtr(key), key);
00269   }
00270 
00271   public void AddParent(IPKIFColleague parent) {
00272     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_AddParent(swigCPtr, this, IPKIFColleague.getCPtr(parent), parent);
00273   }
00274 
00275   public void RemoveParent(IPKIFColleague parent) {
00276     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_RemoveParent(swigCPtr, this, IPKIFColleague.getCPtr(parent), parent);
00277   }
00278 
00279   public boolean IsParent(IPKIFColleague arg0) {
00280     return pkif_moduleJNI.CPKIFCryptoMediator2Ptr_IsParent(swigCPtr, this, IPKIFColleague.getCPtr(arg0), arg0);
00281   }
00282 
00283   public void AddMediator(IPKIFColleaguePtr m) {
00284     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_AddMediator(swigCPtr, this, IPKIFColleaguePtr.getCPtr(m), m);
00285   }
00286 
00287   public void RemoveMediator(IPKIFColleague arg0) {
00288     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_RemoveMediator(swigCPtr, this, IPKIFColleague.getCPtr(arg0), arg0);
00289   }
00290 
00291   public void RemoveMediatorAssociations() {
00292     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_RemoveMediatorAssociations(swigCPtr, this);
00293   }
00294 
00295   public void GetMediators(IPKIFColleagueList v) {
00296     pkif_moduleJNI.CPKIFCryptoMediator2Ptr_GetMediators(swigCPtr, this, IPKIFColleagueList.getCPtr(v), v);
00297   }
00298 
00299 }

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