Re: XMLCiphter.encryptData fails when data is less then 17 bytes in length

2007-07-30 Thread Sean Mullan
I could not reproduce this using Sun's (not BouncyCastle) JCE provider. I would check with BouncyCastle first and send the stack trace to them. --Sean David Dundua wrote: Following demonstrates a NPE being thrown when data is less then 17 bytes in length. Is this a known issue? Any thoughts

XMLCiphter.encryptData fails when data is less then 17 bytes in length

2007-07-26 Thread David Dundua
Following demonstrates a NPE being thrown when data is less then 17 bytes in length. Is this a known issue? Any thoughts on this would be appreciated. Thanks - package gov.epa.cdx.xml.security; import org.apache.xml.security.encryption.EncryptedData; import org