EMSecureInputEncryptionConfig
Objective-C
@interface EMSecureInputEncryptionConfig : NSObject
@property (nonatomic, assign) EMSecureInputEncryptionMode encryptionMode;
@property (nonatomic, strong) NSData *publicKey;
@property (nonatomic, strong) NSData *userData;
#pragma mark Constructors
- (instancetype)init NS_UNAVAILABLE;
/**
Constructor of Encryption configuration object. This is used to build the encrypted secure keypad
@param encryptionMode Enum value for the mode of encryption
@param publicKey The RSA public key to be used for keys encryption.
@param userData A custom user data to be encrypted with public key. It can't be null and maximum size depends on key size. See Programmer's Guide for details about maximum size.
@return New instance of a EMSecureInputEncryptionConfig.
- Since: 6.2
*/
- (instancetype)initWith:(EMSecureInputEncryptionMode)encryptionMode publicKey:(NSData*)publicKey userData:(NSData*) userData NS_DESIGNATED_INITIALIZER;
@end
Swift
class EMSecureInputEncryptionConfig : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic) EMSecureInputEncryptionMode encryptionModeSwift
var encryptionMode: EMSecureInputEncryptionMode { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSData *publicKeySwift
var publicKey: Data { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSData *userDataSwift
var userData: Data { get set }
-
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Constructor of Encryption configuration object. This is used to build the encrypted secure keypad
Since
6.2
Declaration
Objective-C
- (nonnull instancetype)initWith:(EMSecureInputEncryptionMode)encryptionMode publicKey:(nonnull NSData *)publicKey userData:(nonnull NSData *)userData;Swift
init(_ encryptionMode: EMSecureInputEncryptionMode, publicKey: Data, userData: Data)Parameters
encryptionModeEnum value for the mode of encryption
publicKeyThe RSA public key to be used for keys encryption.
userDataA custom user data to be encrypted with public key. It can’t be null and maximum size depends on key size. See Programmer’s Guide for details about maximum size.
Return Value
New instance of a EMSecureInputEncryptionConfig.
EMSecureInputEncryptionConfig Class Reference