NetIQ Mobile SDK for iOS
2.0
Access Manager iOS Framework for OAuth & OIDC
|
Provides data encoding/decoding methods, random string generators, etc. More...
#import <OIDTokenUtilities.h>
Inherits NSObject.
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
Class Methods | |
(NSString *) | + encodeBase64urlNoPadding: |
Base64url-nopadding encodes the given data. More... | |
(nullable NSString *) | + randomURLSafeStringWithSize: |
Generates a URL-safe string of random data. More... | |
(NSData *) | + sha265: |
SHA256 hashes the input string. More... | |
Provides data encoding/decoding methods, random string generators, etc.
+ (NSString *) encodeBase64urlNoPadding: | (NSData *) | data |
Base64url-nopadding encodes the given data.
data | The input data. |
+ (nullable NSString *) randomURLSafeStringWithSize: | (NSUInteger) | size |
Generates a URL-safe string of random data.
size | The number of random bytes to encode. NB. the length of the output string will be greater than the number of random bytes, due to the URL-safe encoding. |
+ (NSData *) sha265: | (NSString *) | inputString |
SHA256 hashes the input string.
inputString | The input string. |