Re: [appengine-java] Re: Serializing crypto classes

2011-11-18 Thread Thales Cloud
I'm now storing the relevant data as byte[] and it appears to be working fine. Thanks again for pointing me in the right direction! Pete. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit

Re: [appengine-java] Re: Serializing crypto classes

2011-11-16 Thread Thales Cloud
Thanks Gerald, Jeff, This tells me what I need to know. We will approach the problem differently, to avoid storing the data in this form. Pete. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web v

Re: [appengine-java] Re: Serializing crypto classes

2011-11-15 Thread Jeff Schnitzer
On Tue, Nov 15, 2011 at 10:30 PM, Gerald Tan wrote: > Only Serializable objects can be used as properties, and Cipher isn't > serializable. The solution is to store the algorithm as a String, then > reinstantiating the Cipher from the algorithm string after retrieving it > from the datastore. T

[appengine-java] Re: Serializing crypto classes

2011-11-15 Thread Gerald Tan
Only Serializable objects can be used as properties, and Cipher isn't serializable. The solution is to store the algorithm as a String, then reinstantiating the Cipher from the algorithm string after retrieving it from the datastore. -- You received this message because you are subscribed to t