SCM iOS API
|
Class describes a key object. Inherits from TokenObject. More...
Instance Methods | |
(NSString *) | - getKeyType |
(NSString *) | - getAlgorithmName |
(NSUInteger) | - getkeyLength |
(void) | - getModulus: |
(void) | - getPublicExponent: |
![]() | |
(NSString *) | - getType |
(NSString *) | - getCkLabel |
(NSString *) | - getCkId |
(Token *) | - getParent |
(NSUInteger) | - getPinNumber |
Class describes a key object. Inherits from TokenObject.
Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API.
- (NSString *) getAlgorithmName |
Gets the algorithm of the key. The only possible value is currently "RSA".
- (NSUInteger) getkeyLength |
Gets the key length, in bits.
- (NSString *) getKeyType |
Gets string identifying the type of the key. The possible values are :
"publicKey"
"privateKey"
- (void) getModulus: | (void(^)(NSData *modulus, NSError *error)) | completionHandler |
Gets the modulus.
completionHandler | the completion handler block to be called as soon as the modulus is retrieved. The completion handler is executed on the main queue, and takes the following parameters :
|
- (void) getPublicExponent: | (void(^)(NSData *publicExponent, NSError *error)) | completionHandler |
Gets the public exponent.
completionHandler | the completion handler block to be called as soon as the public exponent is retrieved. The completion handler is executed on the main queue, and takes the following parameters :
|