sign xml string java
how can i encrypt/decrypt string with cer file and private key in java do the cer开发者_开发百科tificate need to be in special format?
Abdul Khaliq
You are probably looking for implementation of XMLEnc specification. Try XMLSec.
BTW you need to distinguish signing and encrypting operations. These are different standards (XMLDSig and XMLEnc), [partially] different technologies and often different libraries.
The bouncy castle web site is a place to start.
精彩评论