HID APPROVE SDK  5.7.1
HID APPROVE SDK for iOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDKeySpec Class Reference

Key Spec object for use with addKey:withProtectionPolicyId:withPassword:error: (HIDContainer-p) More...

#import <HIDKeySpec.h>

Inheritance diagram for HIDKeySpec:

Instance Methods

(NSString *) - getAlgorithm
 
(NSString *) - getFormat
 
(NSData *) - getKey
 
(NSString *) - getLabel
 
(NSString *) - getUsage
 
(id) - init:withFormat:
 Initialization of HIDKeySpec instance. More...
 
(void) - setAlgorithm:
 
(void) - setLabel:
 
(void) - setUsage:
 

Detailed Description

Method Documentation

- (NSString*) getAlgorithm

Gets the algorithm associated with that key.

Returns
key algorithm
- (NSString*) getFormat

Gets key format.

Returns
key format
- (NSData*) getKey

Gets encoded key bytes.

Returns
encoded key bytes
- (NSString*) getLabel

Gets this key label.

Returns
key label
- (NSString*) getUsage

Gets an array of usage for that key.

Returns
key usage
- (id) init: (NSData *)  key
withFormat: (NSString *)  format 

Initialization of HIDKeySpec instance.

Parameters
keyEncoded key data bytes (expect JWK format)
formatKey format
Returns
reference to HIDKeySpec instance
- (void) setAlgorithm: (NSString *)  algorithm

Sets the algorithm associated with that key.

Parameters
algorithmKey algorithm
- (void) setLabel: (NSString *)  label

Sets this key label.

Parameters
labelKey label
- (void) setUsage: (NSString *)  keyUsage

Sets an array of usage for that key.

Parameters
keyUsageKey usage

The documentation for this class was generated from the following file: