Updated the README for the 0.1 release.
5 // Created by Jens Alfke on 4/9/09.
6 // Copyright 2009 Jens Alfke. All rights reserved.
9 #import "MYCertificate.h"
13 /** An Identity represents a certificate with an associated private key. */
14 @interface MYIdentity : MYCertificate
17 SecIdentityRef _identityRef;
20 /** Initializes a MYIdentity given an existing SecIdentityRef. */
21 - (id) initWithIdentityRef: (SecIdentityRef)identityRef;
23 /** The identity's associated private key. */
24 @property (readonly) MYPrivateKey *privateKey;
28 /** Returns the identity that's been set as the preferred one for the given name, or nil. */
29 + (MYIdentity*) preferredIdentityForName: (NSString*)name;
31 /** Registers this identity as the preferred one for the given name,
32 for later lookup using +preferredIdentityForName:. */
33 - (BOOL) makePreferredIdentityForName: (NSString*)name;