Hi,
I'm currently using the Visibroker for Java CORBA orb with ssl. It
comes with a set of java classes and a native shared library.
Unfortunately the international version of the dll only supports export
strength encryption.
I'm considering the feasibility of using the dll's that come with
SSLeay (via a wrapper) to bypass this, providing strong encryption and
adding extra functionality (choice of ciphers etc.)
The native interface appears to encapsulate a lot of the functionality
- handshake etc, in a pretty simple fashion (see the javap output
below). So it might not be a huge amount of work to produce a
substitute dll (famous last words :). I was wondering if anyone could
comment on the this, or if anything similar has already been attempted?
Cheers,
Luke.
Compiled from JniConnection.java
synchronized class com.visigenic.vbroker.ssl.JniConnection extends
java.lang.Obj
ect implements com.visigenic.vbroker.ssl.SSLConnection
/* ACC_SUPER bit set */
{
com.visigenic.vbroker.ssl.JniConnection();
com.visigenic.vbroker.ssl.JniConnection(int);
public void finalize();
public com.visigenic.vbroker.ssl.SSLConnection duplicate();
public void setIOCallback(java.lang.Object);
public void setCheckCertificateChainCallback(java.lang.Object);
public void setProtocolSide(int);
public void
setProtocolVersion(com.visigenic.vbroker.ssl.SetProtocolVersion)
;
public void setKey(boolean, byte[], java.lang.String);
public void setRequestClientCert(boolean);
public void addCertificate(byte[], boolean, boolean);
public void addTrustedCertificate(byte[], int);
public void addDistinguishedName(byte[]);
public com.visigenic.vbroker.ssl.ProtocolVersion
getProtocolVersion();
public byte getPeerCertificate(int)[];
public int getPeerCertificateChainLength();
public short getNegotiatedCipher();
public synchronized void handshake();
public synchronized int read(byte[]);
public synchronized int write(byte[]);
public int countSubjectDNFields(int);
static native int nativeCountSubjectDNFields(int);
public com.visigenic.vbroker.ssl.AVA
extractSubjectDNFieldIndex(int, int);
static native com.visigenic.vbroker.ssl.AVA
nativeExtractSubjectDNFieldIndex
(int, int);
public int countExtensions(int);
static native int nativeCountExtensions(int);
public com.visigenic.vbroker.ssl.Extension
extractExtensionIndex(int, int);
static native com.visigenic.vbroker.ssl.Extension
nativeExtractExtensionInde
x(int, int);
static static {};
}
--
Luke Taylor. Visibroker Support, Valtech Ltd. (+44 (0)171-307-2311)
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+