Key Spec object for use with addKey:withProtectionPolicyId:withPassword:error: (HIDContainer-p)
More...
#import <HIDKeySpec.h>
- (NSString*) getAlgorithm |
|
|
|
Gets the algorithm associated with that key.
- Returns
- key algorithm
Gets key format.
- Returns
- key format
Gets encoded key bytes.
- Returns
- encoded key bytes
Gets this key label.
- Returns
- key label
Gets an array of usage for that key.
- Returns
- key usage
- (id) init: |
|
(NSData *) |
key |
withFormat: |
|
(NSString *) |
format |
|
|
| |
Initialization of HIDKeySpec instance.
- Parameters
-
key | Encoded key data bytes (expect JWK format) |
format | Key format |
- Returns
- reference to HIDKeySpec instance
- (void) setAlgorithm: |
|
(NSString *) |
algorithm |
|
Sets the algorithm associated with that key.
- Parameters
-
- (void) setLabel: |
|
(NSString *) |
label |
|
Sets this key label.
- Parameters
-
- (void) setUsage: |
|
(NSString *) |
keyUsage |
|
Sets an array of usage for that key.
- Parameters
-
The documentation for this class was generated from the following file: