Created
March 2, 2015 01:15
-
-
Save torinkwok/050ed4e18a4a5894ad80 to your computer and use it in GitHub Desktop.
Find a Internet passphrase with WaxSealCore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSError* error = nil; | |
WSCPassphraseItem* IMDbLoginPassphrase = ( WSCPassphraseItem* )[ [ WSCKeychain login ] | |
findFirstKeychainItemSatisfyingSearchCriteria: @{ WSCKeychainItemAttributeLabel : @"secure.imdb.com" | |
, WSCKeychainItemAttributeProtocol : WSCInternetProtocolCocoaValue( WSCInternetProtocolTypeHTTPS ) | |
, WSCKeychainItemAttributeComment : @"👺👹👺👹" | |
} | |
itemClass: WSCKeychainItemClassInternetPassphraseItem | |
error: &error ]; | |
// WaxSealCore supports Unicode-based search, so you can use Emoji or Chinese in your search criteria. | |
// One step. So easy, is not it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment