这是获取到的json串.
应该解密还是什么?有没有文档
{
"id":"65b64fc8-ddd9-53d6-8b98-bf0d5e045db5",
"create_time":"2020-12-05T08:46:37+08:00",
"resource_type":"encrypt-resource",
"event_type":"TRANSACTION.SUCCESS",
"summary":"支付成功",
"resource":{
"original_type":"transaction",
"algorithm":"AEAD_AES_256_GCM",
"ciphertext":"wCPuqZGrKUhVHdDmA72C5842W+cxu7EJ6bn+TTKvG1aLGSaJy126ikFGkdlau/6Tr+v9Gm6MTcYOlMWtuyWAySumvawtjHEwBfaU5+QR5FAtUQYnal2x1LN/5Z2xXA107JW43V2eK3FZcTJ5C/a3tBVR/Y2ZIhtfECEGPEddzMIxCFoCZ3YMTT8U9JqrPIejDKwPRYdgBEytRrox/04grvQegpMu2oYill15pgRx+rVtXHyB3+w6bxtTbhMHd64cv/QW+MxlCyRczzyq3w+8PsV1kHDrCEu5Y2GLYuRnHjTOgKRSkF5hw2ACTWSEU3bxrfHMUjEHeSg/qQy3U3rdNKt+IIKAxUJcwzyIUk0mYC1wWk6AX1E7vzZ8cYqFz+wS9qy0gXSFu41Jd5RAJD+fr3NjUteOYEI/MNxRHcmCPoZnJeHfXNBV7AEv4CZSWD802q386VAODQXfbON5yh1d2HGQdD1EiOWDiuNdahG2tS5Nb8im3lpB/fCLewAQK4M6OFNQqz574PBzBQj9lCPulVhNQYIAoB7pS7ZAj3D3y0CiNGtVuYOTlmh2OoapBIduQA==",
"associated_data":"transaction",
"nonce":"uBqMgxLsXapZ"
}
}
已解决 https://www.jianshu.com/p/c88c72d0121b
1、验签;此步可跳过;
2、解密;ciphertext变成json