STPPushProvisioningDetailsParams
public class STPPushProvisioningDetailsParams : NSObject
A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class.
-
The Stripe ID of the Issuing card object to retrieve details for.
Declaration
Swift
@objc public private(set) var cardId: String { get }
-
An array of certificates that should be used to encrypt the card details.
Declaration
Swift
@objc public private(set) var certificates: [Data] { get }
-
A nonce that should be used during the encryption of the card details.
Declaration
Swift
@objc public private(set) var nonce: Data { get }
-
A nonce signature that should be used during the encryption of the card details.
Declaration
Swift
@objc public private(set) var nonceSignature: Data { get }
-
Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings.
Declaration
Swift
@objc public var certificatesBase64: [String] { get }
-
Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string.
Declaration
Swift
@objc public var nonceHex: String { get }
-
Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string.
Declaration
Swift
@objc public var nonceSignatureHex: String { get }
-
Instantiates a new params object with the provided attributes.
Declaration
Swift
@objc public required init( cardId: String, certificates: [Data], nonce: Data, nonceSignature: Data )