jlink function argument
- To: mathgroup at smc.vnet.net
- Subject: [mg45618] jlink function argument
- From: Kashif Rasul <kashif at aei.mpg.de>
- Date: Fri, 16 Jan 2004 19:56:56 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi there,
I would like to implement a java function in Mathematica via JLink, but I
am having trouble getting the correct format for the java function to be
called from within Mathematica.
In particular I would like to have the following java function call:
factory.createCredential(new X509Certificate[] {userCert},
userKey,
props.getProxyStrength(),
props.getProxyLifeTime() * 3600,
proxyType,
(X509ExtensionSet)null);
within Mathematica. I am not sure how to write the first argument
"new X509Certificate[] {userCert}"
in Mathematica. Right now I have:
factory@createCredential[List[userCert], userKey, 512, 1200, proxyType,
Null];
but it does not seem to work.
Any idea on how I would go about doing this?
Thanks in advance.
Kashif