EMDsCapParameters Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | EMDsCapParameters.h |
Overview
Represents a DS mapping to standard CAP parameters such that verification may be done using Gemalto DSIP and any standard CAP authentication server.
Create DsCapParameter object
– initWithCapMode:challenge:amount:currencyCode:dataToSign:
Creates a CAP verification parameter object.
- (id)initWithCapMode:(EMDsCapMode)capMode challenge:(id<EMSecureString>)challenge amount:(id<EMSecureString>)amount currencyCode:(NSString *)currencyCode dataToSign:(NSArray *)dataToSignParameters
capMode |
The CAP mode to use. |
|---|---|
challenge |
The merchant challenge. |
amount |
The amount. |
currencyCode |
The currency code of the transaction. |
dataToSign |
The data to sign. |
Return Value
A CAP verification parameter object.
Declared In
EMDsCapParameters.h
Properties
capMode
Returns the DS CAP mode. See enum EMDsCapMode.
@property (assign, nonatomic, readonly) EMDsCapMode capModeReturn Value
The DS CAP mode.
Declared In
EMDsCapParameters.h
challenge
Returns the challenge.
@property (strong, nonatomic, readonly) id<EMSecureString> challengeReturn Value
The challenge.
Declared In
EMDsCapParameters.h
amount
Returns the amount.
@property (strong, nonatomic, readonly) id<EMSecureString> amountReturn Value
The amount.
Declared In
EMDsCapParameters.h
currencyCode
Returns the currency code.
@property (strong, nonatomic, readonly) NSString *currencyCodeReturn Value
The currency code.
Declared In
EMDsCapParameters.h
dataToSign
Returns an array of data to be signed. Each item in the array is an instance of EMSecureString.
@property (strong, nonatomic, readonly) NSArray *dataToSignReturn Value
The signing data.
Declared In
EMDsCapParameters.h