Loading DSA Private Key

2004-01-28 Thread Andrew
Good day, I'm an Apache/OpenSSL newbie so I'm on a steep learning curve here. I am using XML Security API to provide licensing for our companies software via XML DSIG's. I think I understand all that is going on in the XML Security API. I understand how to create a key for the HMAC signature al

Namespaces and XML Encryption

2004-01-28 Thread Johan Vanbockryck (jvanbock)
Hi, I recently succesfully finished a test with XML Encryption for our project and am currently creating something that uses JAXB together with XML Encryption. I ran into a problem with this however when doing decryption. I have following encrypted block in my XML (removed the CypherValue to save

Re: Explain to me why and how to use ResourceResolveSpi when we do sign or verify a XML document

2004-01-28 Thread Erwin van der Koogh
I found that - in your samples - you used an extends of ResourceResolveSpi when verifing(OfflineResourceResolve.java). But I still don't understand ... Have you read: ? It's an introduction into the Resolvers. Basically what they do is take a U

Re: Base64

2004-01-28 Thread Berin Lautenbach
Which smells to be like a bug in the code. If we are dropping bytes without either a) throwing an exception; or b) storing them in a buffer to be retrieved on the next call to ::encode() then I think something is wrong. I will have a look at this. Thanks! Cheers, Berin Milan Tomic wro

Explain to me why and how to use ResourceResolveSpi when we do sign or verify a XML document

2004-01-28 Thread Quang Hung Vu
Hello, I am XML security beginer, I using Java and Apache XML security lib to solve my task. That I have to sign into a XML message with "Enveloped Signature" type. I read your samples, and tried to sign. When sign to element I was seem to be success, but when verify the message, which I'