|
HID APPROVE SDK 6.1
HID Approve SDK for iOS/macOS
|
Key instance. More...
#include <HIDKey.h>
Instance Methods | |
| (NSString *) | - getAlgorithm: |
| Gets the standard algorithm name for the key. | |
| (id< HIDOTPGenerator >) | - getDefaultOTPGenerator: |
| Returns the default OTP generator associated with the key. | |
| (NSData *) | - getEncoded: |
| Gets the key in its primary encoding format. | |
| (NSData *) | - getEncoded:error: |
| Gets the key in its primary encoding format. | |
| (NSString *) | - getFormat: |
| Gets the name of the primary encoding format of this key. | |
| (HIDIdentifier *) | - getId |
| Gets the keyId associated with key. | |
| (NSString *) | - getProperty:error: |
| Returns property for that key. | |
| (id< HIDProtectionPolicy >) | - getProtectionPolicy: |
| Gets the protection policy associated with key. | |
| (BOOL) | - isExtractable: |
| Returns true when the key is extractable. | |
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. |