santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huang zhimin" <flyer...@gmail.com>
Subject encrypt with pkcs12 private key
Date Fri, 21 Mar 2008 16:37:24 GMT
I use BouncyCastleProvider to get a private key from a p12 file, when i use
the private key to encrypt xml document, i get the exception as follows:

org.apache.xml.security.signature.XMLSignatureException: No installed
provider supports this key:
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey
Original Exception was
org.apache.xml.security.signature.XMLSignatureException: No installed
provider supports this key:
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey
Original Exception was java.security.InvalidKeyException: No installed
provider supports this key:
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey

does it mean that xml security do not support pkcs12 keystore?

-- 
My msn spaces: http://flyerhzm.spaces.live.com

Mime
View raw message