use public key and cipher suite from server cert to encrypt

714 byte By khiduc at 2007-9-26 1:13:31
I am a beginner with JSSE so please do share your wisdom. :-)The segment of codes below is the starting point. I need to be able to use the public key and the cipher suite from the server certificate to encrypt something. Which APIs should I use? Code samples would be great.Thousands Thanks in ...

help me! where can download com.ms.security package?

75 byte By wflm at 2007-9-26 1:14:40
I need this package in jbuilder5!!!but I havn't vj++.

Signed applets, going crazy

1722 byte By hikiran at 2007-9-26 1:14:59
hi,I think I've posted enough thread on signed applets andstill haven't got the solution and i'm the strong believerthat any sought of problem will be solved in the forums,and I still believe in that. Ok! I don't wan't to bore u,here is my problem:1) I've signed the applet using keytool ...

ACTIVATING CODEBASE PRINCIPALS

668 byte By LieblA at 2007-9-26 1:15:58
hi everybody,I'm trying to get CODEBASE PRINCIPALS running in Netscape 4.72, as I want to accessan applet from a client application over TCP.I've added the Line:user_pref("signed.applets.codebase_principal_support",true);in the prefs.js file.In the applet I use the ...

basic question

71 byte By toytic at 2007-9-26 1:16:01
what are surface normals, how do I calculate them?

6 Step Signed Applet for IE

2019 byte By gusti_anom at 2007-9-26 1:17:17
last week I have the problem for Signed Applet,and I hope this will Help You.but, I am sorryfor Netscape, it's not done yet.So, here are the Step for IE1. Create you java code (takepic.java)in your code write the securiy permissionif(Class.forName("com.ms.security.PolicyEngine") != ...

Java 3D and Swing: good idea?

624 byte By hdevaan at 2007-9-26 1:18:43
Hi everyone,I'm currently finishing the first parts of user interface built with Swing components. The canvas is used to display a 2D view on a model track. However, people have expressed interest in rendering a 3D view as well.Although I know a few things about Java 3D and 3D programming in ...

JAI - after program ends, VM hangs

6599 byte By aim4min at 2007-9-26 1:18:44
I wrote a simple program to create a thumbnail using JAI. After it is finished, the VM doesn't want to exit. Seems like there was a thread created that is not deleted. This only happens when converting file formats (gif2jpg) but it ends correctly when doing a jpg2jpg. Following is a ...

JSSE/HTTPS certs

376 byte By eb98ac at 2007-9-26 1:19:00
I am trying to connect to my apache server with mod_ssl/OpenSSL using a Java application. I have a created a server cert using the opensll and I signed it myself.I get a javax.net.ssl.SSLException: untrusted server cert chain error. Do I have to purchase a trusted cert to access the site before ...

NoSuchAlgorithm exception

440 byte By binhnguyent at 2007-9-26 1:19:21
Hello, hello.I use this transformation string which is from JCE1.2.1 API user guide "DES/OFB32/PKCS5Padding" to create a Cipher object. No compiler error but a run-time I get NoSuchAlgorithm exception.Note: Using "DES/ECB/PKCS5Padding" is OK. I assume that there is nothing wrong with my ...

InvalidKeyException

634 byte By VijayJ at 2007-9-26 1:19:53
Hi, I am a beginner in JCE. I am using jsdk1.4 beta version. When I try to get a key of a self-signed certificate and use it to initialize cipher obect (DES algorithm), I am getting the following error:Exception in thread "main" java.security.InvalidKeyException at ...

Is there any plans...

430 byte By MeTK at 2007-9-26 1:21:29
Are there any plans to make a Java 3D SDK for Linux anytime in the future? One of the things I like about Java would be its portability, but if I can't develop for that protibility, I suppose I could figure out a way to use WinE to do it.... .... but I would prefer to see a version of the Java ...

Websphere 3.5 and SSL servlet to servlet

1037 byte By kpthottam at 2007-9-26 1:23:18
Hi ,This is a question on configuration of the websphere environment .Here is my problem :I have a class that has no problem communicating with a https servlet when executed as a java application .the steps that I took to ensure this are 1. setting the following jar files in my classpath ...

Creating an image file, with a desired text!!

259 byte By bhatshishya at 2007-9-26 1:23:34
hi friends,I have a small problem. I need to create a small image which will contain the text given by the user. I have to send the same image to the clients's browser.Pl. give me an idea how to do?Thanks in advance.

MD5 Hash of a String

3762 byte By lwfry@bbnow.net at 2007-9-26 1:24:19
Recently I search the forums for a way to get a MD5 Hash of a String. Unfortunantly, there was nothing here to help.I did, however, find this site on the web: http://users.rcn.com/danadler/javacom/MD5Hash.txtThe only thing is Dan Adler's code uses the older md5 class from sun. I have modified ...

How set Policy.Provider to be your class?

1204 byte By 6tr6tr at 2007-9-26 1:25:42
I have made a class EJBPolicy that extends java.security.Policy (i'm using jdk1.4), and overrides the abstract methods. Then in my java.home folder, I changed the file "java.security" so the property "policy.provider" now reads "EJBPolicy". I also changed the "java.security" file in my ...

How set policy.provider to be your class?

1204 byte By 6tr6tr at 2007-9-26 1:25:43
I have made a class EJBPolicy that extends java.security.Policy (i'm using jdk1.4), and overrides the abstract methods. Then in my java.home folder, I changed the file "java.security" so the property "policy.provider" now reads "EJBPolicy". I also changed the "java.security" file in my ...

Windows Media Player & Video Streaming

187 byte By jupitersp at 2007-9-26 1:26:37
Hi, there!Is it possible to send Video Streaming (using JMF) toWindows Media Player? If so, how could I do that?Thank You very much!!Cesar

untrusted cert chains

499 byte By vaijayanti at 2007-9-26 1:29:28
Hi,I have installed SSL 3 on my IIS server. Am trying to connect to the server with my java code. When i connect to the sever using HTTPSURLConnection it gives me this error. Then i imported the certificate of the server using keytool but still it was giving me the same error. No when i again ...

JSSE does not support InputStream.available()

332 byte By danweber at 2007-9-26 1:30:07
My program is checking the InputStream.available() method to see if there is any data ready to be read (so it would not block).This works fine with a regular socket but with a JSSE socket the available() method always returns 0. Is this a limitation or a known bug? Is there a ...

From MAYA to VRML to JAVA 3D

319 byte By Mazz at 2007-9-26 1:30:31
I am doing a project at University whereby I am creating a virtual village. I am creating the buildings etc. using the MAYA package and then exporting the buildings (individually) into VRML.I am unclear as to how I then get my models from VRML into JAVA 3D. Any help/suggestions welcome!Mazz ...

3D under Java1.1

63 byte By fruttaelettronica at 2007-9-26 1:30:32
http://www.fruttalab.hu/labelements/3d/index.html

Problems with con https port on a Apache mod_ssl

398 byte By eb98ac at 2007-9-26 1:33:13
I have created test certificates using the openssl command. I am having problems with using this certificate in a web browser application I have created in Java. I have no problems with http requests. The certificate is self-signed and is no expiried. Could you please help me with the steps ...

trusting Win2000 certificate

1643 byte By MathieuG at 2007-9-26 1:33:31
Hi.. I've been trying to trust my own Win 2000 certificate for a week by now and I still can't figure how to do it. I would like to create users (with password) in Active Directory using a java program (and LDAP) and in order to do it, I have to make an SSL connection to ADS. So.. this is ...

Scene appearance problem

1604 byte By gaoming_fu at 2007-9-26 1:33:47
Hi, all I built some polyhedrons using IndexedTriangleArray, the normal for each vertex point is (0.0, -1.0, 0.0). I used the following code to set the appearance: PolygonAttributes pa = new PolygonAttributes(); pa.setCullFace(PolygonAttributes.CULL_NONE); pa.setBackFaceNormalFlip(true); ...

Installation problem - urgent, PLEASE help!!

1382 byte By skratch_1 at 2007-9-26 1:34:05
I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or thedirectx version, but I've tried both with no luck. I'm running WindowsM.E.I downloaded the JSDK beta 1.4 version (I have previously tried alsowith the 1.3 ...

Unable to Install user.policy file on a Windows 2000 server.

203 byte By makarla at 2007-9-26 1:34:51
with Java plugin 1.2.2, could not install my policy file on a windows 2000 server.but the same install program works well on a NT 4.0 server..is there any workaround for this?

Please HELP!!! Signed Applet .. Printing Problem..

288 byte By manikk at 2007-9-26 1:35:15
Hi.. I wrote a signed applet that would send info to the client's printer.. I have it working in the appletviewer.. but when I try to send something throught the IE, it complains about missing java.awt.print package.. anyone had any problems with printing .. Please help..

someone tell me whats wrong with this formula

273 byte By xlightwavex at 2007-9-26 1:36:58
dumyvarX = (int)(dumyvarX * Math.cos(radiansZ) - dumyvarY * Math.sin(radiansZ) ); dumyvarY = (int)(dumyvarY * Math.cos(radiansZ) + dumyvarX * Math.sin(radiansZ) ); thanks in advance it does every thing except make my point go in a circle

SSL exception

199 byte By momul at 2007-9-26 1:37:08
Hi all, As my programm is compiling correclty but when i am trying to run that program i am getting SSL implementation not available error.thanks in advance.

Symetric Decryption throws IllegalBlockSizeException? Please help...

3389 byte By kenshin0 at 2007-9-26 1:37:22
Dear all,I'm new to cryptography in general and I have been modifying the symmetric key examples so that: a) the application can read data from a file, encrypt it, then overwrite contents of the file with the encrypted bytes. The generated secret key is saved to a different file. b) the ...

Connect to https using servlet

227 byte By think1 at 2007-9-26 1:37:48
hi all, i'm new to java as well as SSL.now i wish to write a servlet that can be used to connected to a https site, what are the things that i need to do? and can i have some sample code to test it? thanks

send signed hash in xml

271 byte By balusug at 2007-9-26 1:38:30
How to send signed hash in xml over internet. using this signed hash as input, signature verification has to done on the other end.kindly explain on what format I can send the signed hash.K.R.Balasubramaniamkrbalasubramaniam@dsqsoft.com

Zip 2.0 encryption

228 byte By ravisikka at 2007-9-26 1:39:09
Does anyone know if there is a crypto provider for the "zip 2.0" format? I believe that "Zip 2.0" is the format used by WinZip. I need to produce encrypted zip files which can be opened by WinZip.Ravi

Difference between Signed applet and Trusted applet

192 byte By parul_patidar at 2007-9-26 1:39:24
hi I want to know two terms "signed applet" and "Trusted Applet" are different or they are same.if these two terms are different then what is that difference

How do I load a signed client certificate into a keystore

1002 byte By vitamin at 2007-9-26 1:39:35
HelloIm getting:[24/Jul/2001 12:50:18 01835] [error] OpenSSL: error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate [Hint: No CAs known to server for verification?]when I try to connect to a server requiring client certificates. The client java program ...

Keytool and Private Key

136 byte By darkit at 2007-9-26 1:39:38
How can i get public/private keys with Keytool ?I made keytool -genkey..... but how can i see them ?Thank's

Dynamic drawing on frames

1051 byte By hekeller at 2007-9-26 1:39:56
Hi,I would like to draw dynamically on displayed frames of a video. The program stops the video and lets the user draw. A previous "Draw on video" topic used an Effect to do this. Because the video is stopped, this won't work.Best would be using the setGlassPane() method. However, the ...

SSL Security

467 byte By lujaika at 2007-9-26 1:40:11
Hi, I've got a problem:I installed OpenSSL to generate a certificate but when I want to make a request with a command:-openssl req -new -out REQ.pem -keyout KEY.pem it results in DOS as:problems making Certificate Request4293148761:error:0E06D06A:configuration fileroutines:NCONF_get_string:no ...

Winzip encryption

224 byte By ravisikka at 2007-9-26 1:40:37
Does anyone know if there is a crypto provider for the "zip 2.0" format? I believe "Zip 2.0" is the format used by WinZip. I need to produce encrypted zip files which can be opened by WinZip.Ravi

JSSE, Connection aborted by peer: socket write error

474 byte By rkumaresh at 2007-9-26 1:41:36
I am trying to connect the https server using JSSE. When i tried connecting it thru SSL by setting the truststore properties and the rest its working fine.The same thing when i tried to connect by setting PKI to require i am getting the error : Connection aborted by peer: socket write error Do ...

picking problem

217 byte By Appollo at 2007-9-26 1:43:37
My virtual universe has several shapes and each should be dragged differently (some along X axis and others along Y or Z axis).Can somebody pls help me with this, cuz Im really stuck.Thanx!

Please help...JSSE and certificates and private keys

1004 byte By sachikoH at 2007-9-26 1:44:44
Hi,I am trying to connect a Java test client to a Java test server using a certificate I generated using openSSL. I put the contents of the .pem file in a keystore using keytool and now I have a keystore with this trusted certificate in it. I also put the certificate in the cacerts. The ...

SSL does not work between OS 390 and windows.

344 byte By moks at 2007-9-26 1:45:13
I am repeatedly getting the following error.handshake_failure (no cipher suites in common)This happens only between MVS and other platforms.I believe it is because of the different character encodings between the two. Can somebody suggest me a solution to this?Please help...Regards,Mohan ...

public/private keys

61 byte By fredyd at 2007-9-26 1:45:59
How to create a private/public keys?Fred

Points on a Quadratic curve

540 byte By MulroneyR at 2007-9-26 1:46:25
Is it at all possible to get a series of points on quadratic and for the matter cubic line using graphics2D.I've got a lineQuadCurve2D q = new QuadCurve2D.Float();q.setCurve( startX, startY,controlX,controlY,endX, endY);I need to find a series of points on this line. The maths is simple enough ...

personal Blowfish implementation does not work!

32296 byte By DickerTiger123456 at 2007-9-26 1:46:33
import java.io.*;import java.math.*; import java.util.*; import java.awt.*; //Blowfish works with 64 bit words, "FF FF FF FF FF FF FF FF" is such a word.// a^b <= XOR!!! class pBlowfish{ static int[][] S= new int[4][256];static int[] P = new int[18]; public static void ...

Is there an easy way to invalidate authorization?

690 byte By jake39 at 2007-9-26 1:47:08
I am not new to java but am new to servlets and I haven't managed to find an answer to this:All I want to do is when the session expires set the Authorization I receive fron the browser to null. At the moment I can send back an SC_UNAUTHORIZED and thow up the login box but if the user just ...

documentation for sockets

212 byte By senthil_indts at 2007-9-26 1:47:57
Hi,I would be very grateful to you, if you could send mesome information that explains the general behaviour sockets under high load conditions.Thanks,Senthilkumar

ScrollingImagePanel problem

489 byte By firedigger at 2007-9-26 1:49:17
hi everybody..I'm trying to add a mouseListener or a mouseMotionListener to a ScrollingImagePanel. When I tried to add a listener to the panel, the only event that was thrown was mouseEntered. Checking the API, I found that this object implements the mouseListener and mouseMotionListener, and ...