930 byte By
JarmanG at 2007-9-26 13:23:38
Hello again,I followed the 10 steps in the excellent post of ncoleman1.When I tested my applet it was still not recognised as a signed applet and I still got the runtime security exception.When I looked in cacerts, into which I'd imported my certificate, it appeared to have import the ...
Hi Everyone!It is a fact that that java binary class files can be decompiled easily with tools like Decafe. That is a problem when you want to keep your decryption key in the code, because everyone can decompile the class files and find the key! So my questions is this:Where can we safely keep ...
198 byte By
felten at 2007-9-26 13:24:00
Hi,I would like to export a Private Key/ cert. chain from an JKS Keystore as a PKCS#12 file.Do you kwow some tools or sample codes ?Thanks a lot for your responses
904 byte By
bvkn at 2007-9-26 13:24:16
I need to write a ssl application which gets authenticated with a server and sends a request to the server. A keystore was given by the server application developers.The keystore has no password. So when loading the keystore i gave password as null. But when initializing the KeyManagerFactory , ...
141 byte By
redpath at 2007-9-26 13:24:38
Using jarsigner which searches for a key to sign a jar where is the database file so I can back it up?redpath@us.ibm.com
hii do a scale (0.5,0.5) to a BufferedImage but the image is not sharp any more how can i make the image sharpafter scale.
Can anyone point me at any books on J3D- I have gone through the tutorials but a kind of general purpose reference guide to the API with examples and stuff would be really handy. Does anyone know of one?
428 byte By
filcobra at 2007-9-26 13:25:28
Hi all,Does anybody know of some Java 3D OpenGL driver designed for 3DFX video cards (Voodoo Cards)?These video cards have hardware 3D acceleration and I think that such a driver could boost the design and development of 3D Games and Complex Graphic Applications.So, if anyone has heard ...
1182 byte By
B_randy at 2007-9-26 13:27:13
Hi All, I am trying to access the database records from MS -access.When I do it using a stand alone application, it works fine.But if I use the Applets, its gives following application,-- java.security.AccessControlException: access denied (java.lang.RuntimePermission ...
I have a problem mixing a Canvas3D and a JSlider with a colored knob : when I set the background color of the JSlider, the Canvas3D doesn't appear and the JSlider blinks. What's wrong ? import java.applet.Applet;import java.awt.BorderLayout;import java.awt.event.*;import ...
Hello to all ,i am just new to criptograpy and java security kindly guide me to begining and how to start it.if there is any tutorial or examples plz mail me.thankskashif bashirkashefbasher@yahoo.com
I was intrested in knowing has anone tried in writing their own ecrryption/decryption algorithim rather than importing the ones provided with JCE.
I understand that in order to intitialize a cipher you need to say Cipher.instanceOf("RSA");Is there any list of the ciphers that the library contains
461 byte By
sklemmer at 2007-9-26 13:31:34
Hi, Looking at the JMStudio app, it's pretty clear how to capture audio and stream it out through the speakers. What I don't understand is how to capture audio, stop, and at a later time, play that stream back. In particular, I'd like to be able to play it back beginning at a specific ...
819 byte By
Zwartan at 2007-9-26 13:32:23
A game applet which I have written runs well on my slow pentium 166 MMX and on one of my firends 166 MMX with doublebuffering and sounds, but it runs slower and the sounds play with cuts on faster computers like P2 333, P3 550 and P2 266.How can this happen?Another interesting point is that on ...
525 byte By
nille40 at 2007-9-26 13:32:30
Hello everyone,I'm am new to JAI and could use some help...I wan't to decode images of different types, but NOT from files or strings (such as JAI.create). I currently use ImageDecoder decoder = ImageCodec.create(String,InputStream,DecodeParam).I get a stream from a ByteArraySeekableStream ...
11475 byte By
s98dance at 2007-9-26 13:32:36
I have two problems with the j_security_check action that I use in my login page.The first is about when a user trying to access a protected page but don't have the rights to do that.1. The user type in a wrong user name or password and then it will send him to the error page.If he get back to ...
I can not execute RTPSocketPlayer.class from sunmycode =import java.io.*; import java.net.*; import java.util.*; import javax.media.*; import javax.media.format.*; import javax.media.protocol.*; import javax.media.rtp.*; import javax.media.rtp.event.*; import javax.media.rtp.rtcp.*; public ...
174 byte By
phaikee at 2007-9-26 13:32:50
May i know whther that Java 2D enable the effect of zooming in an image?For example,zoom in part of the image to enlarge it so that we can view it more clearly?
1852 byte By
[tone] at 2007-9-26 13:34:21
Okay, I've tested out using JIMI to load a psd image to a JimiCanvas, but I can't seem to work out how to load the PSD file into a standard Image object (or what equivalent I need to transform it).If I try:JimiCanvas jc = new JimiCanvas(imageFilePath); Image tempImage = jc.getImage();Graphics ...
hi it is possible to use in BufferdImage with jai ?
1001 byte By
tsaiA at 2007-9-26 13:36:00
I just installed j2sdk1.4.0-beta3 and compiled the following sample program from JCE doc:import java.security.*;import javax.crypto.*;import com.sun.crypto.provider.SunJCE;public class initMac { public static void main(String[] args) throws Exception { Provider sunJce = new ...
518 byte By
g2astong at 2007-9-26 13:36:12
Sorry, my english short...I want to make gImage Class extends Image and use Graphics2D I trying to do...make class gImage..extends Image class. (Inheritance)but Image class is abstract class..And I want to use gImage class same as Image class.I can't use constructor... because by Abstract ...
178 byte By
fjaejs at 2007-9-26 13:37:41
my code is:processor.getGainControl().setLevel(5) ;it's return java.lang.NullPointerExceptionhow to solve this problem? thank you help.
176 byte By
erdkal at 2007-9-26 13:39:16
Hi,I search a Servlet Example, which includes JAAS.When you know page, or you have sample code.please send me replyThankserdkal
I am using Windows 2000 !!!I downloaded JSSE-1_0_2-gj.ZIP and extracted its files. Then, using the instructions on INSTALL.TXT copied the JAR files to c:\jdk1.3.1_01\jre\lib\ext and edited c:\jdk1.3.1_01\jre\lib\security\java.securityAfter this, I still cannot "see" JAVAX.NET to use the ...
Has anyone tried installing this yet? I'm trying to install it on J2SE 1.3.1 and/or 1.4. I know the previous versions won't work on 1.4, so I'm not too concerned about that. After the installer starts, it goes through the initial uncompression bit, and then I get an error message stating ...
200 byte By
shadowdw at 2007-9-26 13:40:45
Can any version of JCE be used with jdk 1.1.3? If not, what is the best way to encrypt a String field prior to storing it on a DB table. (Using DES or more prefferably Triple DES)
I have 2 or more 1-page TIFF input files that need to be stored into 1 large TIFF. Using JAI, is there any way I can do that?
How can I print TIFF using JAI?
340 byte By
pboysen at 2007-9-26 13:41:43
I have created a scene using VRML97 that creates a GeometryArray. I would like to be able to change the colors of the vertices using setColor but Java3D is reporting the error that GeometryArray has no color.Do I have to include color values in the VRML file for it to have color? Is there ...
203 byte By
yawhcihw at 2007-9-26 13:43:14
Hi,I was wondering if anyone knew of an API that would enable me to access a Microsoft Certificate Authority on a Windows 200 Server. Any help would be appreciatedPeter
142 byte By
bidzhao at 2007-9-26 13:43:51
how can get the original string, of if can find another string which has the same hashcode with the original?thanks a lot
528 byte By
virgus at 2007-9-26 13:45:03
Hi all,I've one application that sends and receives media (audio/video) over RTP. It captures video from webcam and audio from mic. The streams are encoded in DVI and H263. So, the problem is: on a P2 233 96Mb and generally on a "normal" pc it runs so slowly that the receiver of the stream (on ...
As far as I can see Sun-Java2 recognizes only certificates issued by Verisign or Thawte. As Thawte is owned by Verisign this gives them a monopoly and they can ask any price they want (and indeed certificates from other companies for IE- or NS4.x-java are much cheaper).Shouldn't Sun include ...
2340 byte By
raja01 at 2007-9-26 13:46:59
I am trying to use the same key for encryption and decryption. Encrytption works fine but when I decrypt it gives me a IlllegalBlockSizeException... Input length (with padding) not multiple of 8 bytesHere is the the code. I think the problem is with the " byte[] cipherText = ...
1017 byte By
vrb123 at 2007-9-26 13:47:36
I am using a https client(via HttpsURLConnection) to send messages to a web server. After sending message, all input/output streams are closed and used disconnect() method to close the connection. Seems disconnect is not working and connections kept on increasing on the web server. Can anybody ...
The subject s can be retrieved anytime in a Subject.doAs() block with Subject.getSubject() call. However, this does not work if within the Subject.doAs() there is a AccessController.doPrivileged(). In the following code snip, s1 is equal to s, but s2 is null.AccessController.doPrivileged() not ...
Hi,I am implementing custom serialization via some static methods that query an object for its data via reflection and code like:object.getClass().getDeclaredFields()[0].getInt(object)This code sits inside a class derived from PrivilegedAction and invoked via ...
hi,I am trying to open a SSL socket connection from a signed (verisign certificate) applet to a web server. Applet is run using Java Plug-in 1.3.1 on IE 5.0This results in the following exception:(From the log):Exception in HttpManager.setupSSLaccess denied (java.security.SecurityPermission ...
1772 byte By
tsaiA at 2007-9-26 13:50:07
In the last 3 days, I tried a variety of ways to set up JCE with either j2sdk1.4.0-beta3.exe or with j2sdk-1_4_0-beta-forte-ce-3_)-beta-win.exe on both Windows ME and Win98, but with no luck at all. I even reloaded the binary .exe files from java.Sun again and uninstalled the resident JDK ...
881 byte By
vyw at 2007-9-26 13:50:18
We changed versions of jsse and now can't do ssl from the client side; we get the "SSL implementation not available" error.We run Java 1.3.0 on aix with JSSE 1.0.2 on AIX. We got the software off the AIX web pages before Java 1.3.0 was officially available on the AIX distribution cd. One of ...
2985 byte By
ethanlam at 2007-9-26 13:51:41
Hi all,Although my question is the same as the QOW for this week, there is an error "unsupported keyword EMAIL" returned when i try to establish a https connection using servlet. The error log is as follow:=====================================java.io.IOException: unsupported keyword EMAILat ...
Dear friends,Are the following things possible with JAVA 3D?1. animation of a scene(movements) transformation.2. rotating, translating, streching each single object and place new object inspace.3. sliding slices up and down.4. clickon a point in space and get its coordinates.5. Transparency of ...
517 byte By
hommer at 2007-9-26 13:52:30
I have a file which compiles ok, however it gets a runtime error.Heres the output from the dos prompt - Exception in thread "main" java.lang.NoClassDefFoundError: javax/crypto/KeyGenerator at SecretWriting.main(SecretWriting.java:27) I have a sneaky suspition that its something to with the ...
514 byte By
daloch at 2007-9-26 13:52:31
How I can load an image jpg from a file, scale it an save in another file?First problem: load the image I've tryed:-Image inImage=Toolkit.getDefaultToolkit().createImage(b);where b is a bytearray of images,-Image inImage=Toolkit.getDefaultToolkit().createImage("C:/java/image.jpg");but it ...
Hi, I followed the installation steps given for XML Security Suite. When I excuted java enc.XMLCipher2 -e keyinfo.xml bookorder.xml /Invoice/cardinfo template1.xmlI got a security exception, keystore jceks not found. This default Keystore provided by jce is not present. I installed jce and ...
I have merged DataSource and a DataSink .My Question is:Which Format is best for minimal disk space on the DataSink file.I used jpeg and for 30 seconds i got a file about 6 mega.Does this format is the best one?
963 byte By
cluoyan at 2007-9-26 13:54:08
Hello all,I am new to Java animation.Now I want to write an animation showing the tracks of some points. The position of the points are allocated according to some blocks of data in somewhat time interval, for instance, every 2 seconds.So I want to draw out the position of points for each ...
-**_