Re: How to decrypt AES encryption

2004-07-22 Thread Dominik Schadow
Yes, I tried the following code: SecretKeySpec keySpec = new SecretKeySpec(JavaUtils.getBytesFromFile(keyFile), algorithm); SecretKeyFactory skf = SecretKeyFactory.getInstance(algorithm); SecretKey key = skf.generateSecret(keySpec); The exception I receive is java.security.NoSuchAlgorithmExcepti

[GUMP@brutus]: xml-security/xml-security failed

2004-07-22 Thread Sam Ruby
l time: 22 seconds - To subscribe to this information via syndicated feeds: RSS: http://brutus.apache.org/gump/public/xml-security/xml-security/rss.xml Atom: http://brutus.apache.org/gump/public/xml-security/xml-security/atom.xml -- Gump E-mail Id

[GUMP@brutus]: xml-security/xml-security failed

2004-07-22 Thread Sam Ruby
l time: 22 seconds - To subscribe to this information via syndicated feeds: RSS: http://brutus.apache.org/gump/public/xml-security/xml-security/rss.xml Atom: http://brutus.apache.org/gump/public/xml-security/xml-security/atom.xml -- Gump E-mail Id

Re: How to decrypt AES encryption

2004-07-22 Thread Vishal Mahajan
Dominik Schadow wrote: Yes, I tried the following code: SecretKeySpec keySpec = new SecretKeySpec(JavaUtils.getBytesFromFile(keyFile), algorithm); SecretKey key = skf.generateSecret(keySpec); The exception I receive is java.security.NoSuchAlgorithmException: AES not found at javax.crypto.S

Re: How to decrypt AES encryption

2004-07-22 Thread Sean Mullan
Vishal Mahajan wrote: Dominik Schadow wrote: Yes, I tried the following code: SecretKeySpec keySpec = new SecretKeySpec(JavaUtils.getBytesFromFile(keyFile), algorithm); SecretKey key = skf.generateSecret(keySpec); The exception I receive is java.security.NoSuchAlgorithmException: AES not foun

Re: How to decrypt AES encryption

2004-07-22 Thread Dominik Schadow
I'm using JDK 1.4.2_04. I don't understand why I can encrypt XML using AES, but then I can't decrypt it... > Vishal Mahajan wrote: > > Dominik Schadow wrote: > > > >> Yes, I tried the following code: > >> > >> SecretKeySpec keySpec = new > >> SecretKeySpec(JavaUtils.getBytesFromFile(keyFile), alg

Re: [java] Certificate Path API

2004-07-22 Thread Sean Mullan
Milan Tomic wrote: Hello Sean, Thank you very much for your help. I've read RFC 3280 and I understand PKIX little better now. :) Please, could you give me some small example of CertStore (PKIX) usage? Retriving CRLs using HTTP and LDAP protocols and validating that cert is not revok