MYKeychain.h
changeset 26 d9c2a06d4e4e
parent 16 c409dbc4f068
     1.1 --- a/MYKeychain.h	Tue Jun 02 13:16:28 2009 -0700
     1.2 +++ b/MYKeychain.h	Wed Jul 01 14:19:13 2009 -0700
     1.3 @@ -113,6 +113,8 @@
     1.4  /** Enumerates all public keys in the keychain that have the given alias string. */
     1.5  - (NSEnumerator*) publicKeysWithAlias: (NSString*)alias;
     1.6  
     1.7 +- (NSEnumerator*) enumerateIdentitiesWithKeyUsage: (CSSM_KEYUSE)keyUsage;
     1.8 +
     1.9  /** Imports a key-pair into the keychain, given the external representations
    1.10      of both the public and private keys.
    1.11      Since the private key data is wrapped (encrypted), the Security agent will prompt the user to enter
    1.12 @@ -138,6 +140,16 @@
    1.13                              encoding: (CSSM_CERT_ENCODING) encoding;
    1.14  
    1.15  //@}
    1.16 +#else
    1.17 +/** @name iPhone-Only
    1.18 + *  Functionality only available on iPhone. 
    1.19 + */
    1.20 +//@{
    1.21 +
    1.22 +- (BOOL) removeAllCertificates;
    1.23 +- (BOOL) removeAllKeys;
    1.24 +
    1.25 +//@}
    1.26  #endif
    1.27  
    1.28