Is there an easier way to sign an XML document in Java?

前端 未结 3 1232
囚心锁ツ
囚心锁ツ 2021-02-05 08:09

I\'m trying to digitally sign an XML document using Java. I\'ve got an implementation working with some references I\'ve found that use various implementations in the javax.xml.

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 09:10

    Have look at Apache XML Security. To use the package to generate and verify a signature, checkout the samples in src_samples/org/apache/xml/security/samples/signature/.

提交回复
热议问题