|
HID APPROVE SDK 6.1
HID Approve SDK for iOS/macOS
|
Key Spec object for use with addKey:withProtectionPolicyId:withPassword:error: (HIDContainer-p) More...
#include <HIDKeySpec.h>
Instance Methods | |
| (NSString *) | - getAlgorithm |
| (NSString *) | - getFormat |
| (NSData *) | - getKey |
| (NSString *) | - getLabel |
| (NSString *) | - getUsage |
| (id) | - init:withFormat: |
| Initialization of HIDKeySpec instance. | |
| (void) | - setAlgorithm: |
| (void) | - setLabel: |
| (void) | - setUsage: |
Key Spec object for use with addKey:withProtectionPolicyId:withPassword:error: (HIDContainer-p)
| - (NSString *) getAlgorithm |
Gets the algorithm associated with that key.
| - (NSString *) getFormat |
Gets key format.
| - (NSData *) getKey |
Gets encoded key bytes.
| - (NSString *) getLabel |
Gets this key label.
| - (NSString *) getUsage |
Gets an array of usage for that key.
| - (id) init: | (NSData *) | key | |
| withFormat: | (NSString *) | format |
Initialization of HIDKeySpec instance.
| key | Encoded key data bytes (expect JWK format) |
| format | Key format |
| - (void) setAlgorithm: | (NSString *) | algorithm |
Sets the algorithm associated with that key.
| algorithm | Key algorithm |
| - (void) setLabel: | (NSString *) | label |
Sets this key label.
| label | Key label |
| - (void) setUsage: | (NSString *) | keyUsage |
Sets an array of usage for that key.
| keyUsage | Key usage |