我想在PHP中集成用于Aadhaar号码验证的AadhaarCardAuthenticationAPI。我试过this并为API访问编写代码。如何在PHP中生成下面的XML加密字段数据?Thissamplecode是用Java编写的。encryptedandencodedsessionkeyencryptedPIDblockSHA-256HashofPidblock,encryptedandthenencodedDigitalsignatureofAUA 最佳答案 //Belowistherunningcodetointegrate