1.1 --- a/MYCertificate.h Sun Jun 07 21:53:56 2009 -0700
1.2 +++ b/MYCertificate.h Wed Jun 10 09:02:18 2009 -0700
1.3 @@ -55,6 +55,9 @@
1.4 /** The list (if any) of the subject's email addresses. */
1.5 @property (readonly) NSArray *emailAddresses;
1.6
1.7 +- (SecTrustResultType) evaluateTrustWithPolicy: (SecPolicyRef)policy;
1.8 +- (SecTrustResultType) evaluateTrust;
1.9 +
1.10
1.11 /** @name Mac-Only
1.12 * Functionality not available on iPhone.
1.13 @@ -80,21 +83,24 @@
1.14 /** @name Expert
1.15 */
1.16 //@{
1.17 -#if !TARGET_OS_IPHONE
1.18
1.19 + (SecPolicyRef) X509Policy;
1.20 + (SecPolicyRef) SSLPolicy;
1.21 +
1.22 +#if !TARGET_OS_IPHONE
1.23 + (SecPolicyRef) SMIMEPolicy;
1.24 - (CSSM_CERT_TYPE) certificateType;
1.25 - (NSArray*) trustSettings;
1.26 - (BOOL) setUserTrust: (SecTrustUserSetting)trustSetting;
1.27 +#endif
1.28
1.29 -#endif
1.30 //@}
1.31
1.32 @end
1.33
1.34
1.35 +NSString* MYTrustResultDescribe( SecTrustResultType result );
1.36 +#if !TARGET_OS_IPHONE
1.37 NSString* MYPolicyGetName( SecPolicyRef policy );
1.38 NSString* MYTrustDescribe( SecTrustRef trust );
1.39 -NSString* MYTrustResultDescribe( SecTrustResultType result );
1.40 +#endif