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
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
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
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
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
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
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