HID APPROVE SDK
5.11
HID Approve SDK for iOS/macOS
|
Key instance. More...
#import <HIDKey.h>
Instance Methods | |
(NSString *) | - getAlgorithm: |
Gets the standard algorithm name for the key. More... | |
(id< HIDOTPGenerator >) | - getDefaultOTPGenerator: |
Returns the default OTP generator associated with the key. More... | |
(NSData *) | - getEncoded: |
Gets the key in its primary encoding format. More... | |
(NSData *) | - getEncoded:error: |
Gets the key in its primary encoding format. More... | |
(NSString *) | - getFormat: |
Gets the name of the primary encoding format of this key. More... | |
(HIDIdentifier *) | - getId |
Gets the keyId associated with key. More... | |
(NSString *) | - getProperty:error: |
Returns property for that key. More... | |
(id< HIDProtectionPolicy >) | - getProtectionPolicy: |
Gets the protection policy associated with key. More... | |
(BOOL) | - isExtractable: |
Returns true when the key is extractable. More... | |
Key instance.
- (NSString*) getAlgorithm: | (NSError **) | error |
Gets the standard algorithm name for the key.
error | error details. It may be nil. |
- (id<HIDOTPGenerator>) getDefaultOTPGenerator: | (NSError **) | error |
Returns the default OTP generator associated with the key.
error | error details. It may be nil. |
- (NSData*) getEncoded: | (NSError **) | error |
Gets the key in its primary encoding format.
error | error details. It may be nil. |
Possible error codes are:
- (NSData*) getEncoded: | (NSString *) | password | |
error: | (NSError **) | error | |
Gets the key in its primary encoding format.
password | the key password. |
error | error details. It may be nil. |
Possible error codes are:
- (NSString*) getFormat: | (NSError **) | error |
Gets the name of the primary encoding format of this key.
error | error details. It may be nil. |
- (HIDIdentifier*) getId |
Gets the keyId associated with key.
- (NSString*) getProperty: | (NSString *) | propertyId | |
error: | (NSError **) | error | |
Returns property for that key.
propertyId | key property name. |
The property name may be any of the following:
error | error details. It may be nil. |
Possible error codes are:
- (id<HIDProtectionPolicy>) getProtectionPolicy: | (NSError **) | error |
Gets the protection policy associated with key.
error | error details. It may be nil. |
Possible error codes are:
- (BOOL) isExtractable: | (NSError **) | error |
Returns true when the key is extractable.
error | error details. It may be nil. |