37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using System;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Aop.Api.Domain
|
|
{
|
|
/// <summary>
|
|
/// EncryptedPaymentCredential Data Structure.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class EncryptedPaymentCredential : AopObject
|
|
{
|
|
/// <summary>
|
|
/// 码值密文。{Base64 encrypted data}
|
|
/// </summary>
|
|
[XmlElement("data")]
|
|
public string Data { get; set; }
|
|
|
|
/// <summary>
|
|
/// 加密产生的临时公钥。 {Base64 encoded ephemeral public key}
|
|
/// </summary>
|
|
[XmlElement("ephemeral_public_key")]
|
|
public string EphemeralPublicKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// 加密用的WAGU秘钥公钥Hash。 {Base64 encoded SHA-256 hash of the encoded public key used to encrypt}
|
|
/// </summary>
|
|
[XmlElement("public_key_hash")]
|
|
public string PublicKeyHash { get; set; }
|
|
|
|
/// <summary>
|
|
/// 加密版本。{Encryption version. } {ECC椭圆曲线算法+DH交换秘钥。Elliptic Curve Cryptography Version 2}
|
|
/// </summary>
|
|
[XmlElement("version")]
|
|
public string Version { get; set; }
|
|
}
|
|
}
|