如何验证 PARes 签名?

How do I validate the PARes signature?

在 Visa 和 MasterCard SecureCode 验证中,生成了 PARes 消息。它包含一个签名。如何使用签名验证消息未被篡改?

在第 6.1 节中,Visa 的 instructions 说:

'Use the Visa 3-D Secure Root Certificate to validate the cryptographic signature in the PARes message to ensure its authenticity and integrity. '

但我不确定该怎么做。 Java 中的一个例子会有很大帮助。

根据第 9 节,您需要获得

  • 3-D Secure:协议规范——核心功能
  • 3-D 安全: 功能需求——商户服务器插件

来自 Visa 的文件。它们应包含必要的说明。