NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayPayCodecApplepayEstab...

46 lines
2.4 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayPayCodecApplepayEstablishSetModel Data Structure.
/// </summary>
[Serializable]
public class AlipayPayCodecApplepayEstablishSetModel : AopObject
{
/// <summary>
/// 数字签名。 The Base 64 encoded signature generated on Apple server. PKCS#7 detached ECC signature covering the SHA 256 hash of the concatenation of the UTF-8 value of provisioningBundleIdentifier and certificatesRequested and Base 64 decoded values of barcodeEncryptionCertificate , deviceSignatureCertificate .
/// </summary>
[XmlElement("apple_signature")]
public string AppleSignature { get; set; }
/// <summary>
/// JSON格式base64的证书链List。只有leaf证书结构能被imediately和root证书验过。第0个证书用于二维码加密使用。 Base 64 encoded X.509 encryption certificate chain containing the intermediate and leaf certificates. Encryption shall be performed using the first certificate in the list.
/// </summary>
[XmlArray("barcode_encryption_cert_chain")]
[XmlArrayItem("string")]
public List<string> BarcodeEncryptionCertChain { get; set; }
/// <summary>
/// JSON格式base64的证书链List。只有leaf证书结构能被imediately和root证书验过。第0个证书用于二维码上报加签使用。 Base 64 encoded X.509 signature certificate chain containing the intermediate and leaf certificates. The device will sign a payload each time it displays a QR code on the screen using the private key of this key pair. The public key of the first certificate should be used to verify that signature.
/// </summary>
[XmlArray("device_signature_cert_chain")]
[XmlArrayItem("string")]
public List<string> DeviceSignatureCertChain { get; set; }
/// <summary>
/// 风控信息。 Fraud data provided by Apple as outlined in separate Fraud SIA document, if applicable
/// </summary>
[XmlElement("fraud_data")]
public EstablishFraudData FraudData { get; set; }
/// <summary>
/// SAM pass的bundleId唯一标识一张卡片。 The identifier for which the feature is being enabled.
/// </summary>
[XmlElement("provisioning_bundle_identifier")]
public string ProvisioningBundleIdentifier { get; set; }
}
}