|
NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
#import <MFSimpleKeychain+KeyPair.h>
Instance Methods | |
| (BOOL) | - generateRSAKeyPairWithLength:publicKeyTag:privateKeyTag: |
| (nullable NSData *) | - dataForRSAKeyWithTag: |
| (BOOL) | - deleteRSAKeyWithTag: |
| (SecKeyRef) | - keyRefOfRSAKeyWithTag: |
| (BOOL) | - hasRSAKeyWithTag: |
Category of MFSimpleKeychain to handle RSA pairs keys in the Keychain
| - (NSData *) dataForRSAKeyWithTag: | (NSString *) | keyTag |
Returns a RSA key as NSData.
| keyTag | tag of the key |
Extends class MFSimpleKeychain.
| - (BOOL) deleteRSAKeyWithTag: | (NSString *) | keyTag |
Removes a key using its tag.
| keyTag | tag of the key to remove |
Extends class MFSimpleKeychain.
| - (BOOL) generateRSAKeyPairWithLength: | (MFSimpleKeychainRSAKeySize) | keyLength | |
| publicKeyTag: | (NSString *) | publicKeyTag | |
| privateKeyTag: | (NSString *) | privateKeyTag | |
Generates a RSA key pair with a specific length and tags. Each key is marked as permanent in the Keychain
| keyLength | number of bits of the keys. |
| publicKeyTag | tag of the public key |
| privateKeyTag | tag of the private key |
Extends class MFSimpleKeychain.
| - (BOOL) hasRSAKeyWithTag: | (NSString *) | keyTag |
Checks if a RSA key exists with a given tag.
| keyTag | tag of RSA Key |
Extends class MFSimpleKeychain.
| - (SecKeyRef) keyRefOfRSAKeyWithTag: | (NSString *) | keyTag |
Returns a RSA key as SecKeyRef. You must release it when you're done with it
| keyTag | tag of the RSA Key |
Extends class MFSimpleKeychain.