NSURL(WSCKeychainURL) Category Reference
| Declared in | NSURL+WSCKeychainURL.h NSURL+WSCKeychainURL.m |
Tasks
Creating a Singleton URL for Common Keychain and Keychains Directory
-
+ sharedURLForCurrentUserKeychainsDirectory -
+ sharedURLForSystemKeychainsDirectory -
+ sharedURLForLoginKeychain -
+ sharedURLForSystemKeychain
Creating an NSURL with Common Path
Class Methods
URLForHomeDirectory
Returns the URL of the current user’s or application’s home directory, depending on the platform.
+ (NSURL *)URLForHomeDirectoryReturn Value
An URL specifing the location of home directory for current user.
Discussion
In OS X, it is the application’s sandbox directory or the current user’s home directory (if the application is not in a sandbox).
Declared In
NSURL+WSCKeychainURL.hURLForTemporaryDirectory
Returns the URL of the temporary directory for current user.
+ (NSURL *)URLForTemporaryDirectoryReturn Value
An URL specifing the location of temporary directory for current user.
If no such directory is currently available, returns nil.
Discussion
See the NSFileManager method URLForDirectory:inDomain:appropriateForURL:create:error:
for the preferred means of finding the correct temporary directory.
Declared In
NSURL+WSCKeychainURL.hsharedURLForCurrentUserKeychainsDirectory
Returns the URL of the current user’s keychain directory: ~/Library/Keychains.
+ (NSURL *)sharedURLForCurrentUserKeychainsDirectoryReturn Value
An URL of the current user’s keychain directory: ~/Library/Keychains.
Discussion
This method always returns the same NSURL object (a singleton object).
If you wanna a new NSURL object, you should create a new instance of NSURL
(using the factory methods in NSURL that doesn’t start with “shared” )
rather than using the this method.
Declared In
NSURL+WSCKeychainURL.hsharedURLForLoginKeychain
Returns an NSURL object specifying the location of login.keychain for current user.
+ (NSURL *)sharedURLForLoginKeychainReturn Value
An NSURL object specifying the location of login.keychain for current user.
Discussion
This method always returns the same NSURL object (a singleton object).
If you wanna a new NSURL object, you should create a new instance of NSURL
(using the factory methods in NSURL that doesn’t start with “shared” )
rather than using the this method.
Declared In
NSURL+WSCKeychainURL.hsharedURLForSystemKeychain
Returns an NSURL object specifying the location of System.keychain.
+ (NSURL *)sharedURLForSystemKeychainReturn Value
An NSURL object specifying the location of System.keychain.
Discussion
This method always returns the same NSURL object (a singleton object).
If you wanna a new NSURL object, you should create a new instance of NSURL
(using the factory methods in NSURL that doesn’t start with “shared” )
rather than using the this method.
Declared In
NSURL+WSCKeychainURL.hsharedURLForSystemKeychainsDirectory
Returns the URL of the system directory: /Library/Keychains.
+ (NSURL *)sharedURLForSystemKeychainsDirectoryReturn Value
An URL of the system keychain directory: /Library/Keychains.
Discussion
This method always returns the same NSURL object (a singleton object).
If you wanna a new NSURL object, you should create a new instance of NSURL
(using the factory methods in NSURL that doesn’t start with “shared” )
rather than using the this method.
Declared In
NSURL+WSCKeychainURL.h