MYCertificate now checks validity of self-signed certs loaded from the keychain (because the Security framework doesn't validate self-signed certs.)
5 // Created by Jens Alfke on 5/28/09.
6 // Copyright 2009 Jens Alfke. All rights reserved.
9 #import <Foundation/Foundation.h>
12 /* An ASN.1 Object-ID, which is a sequence of integer components that define namespaces.
13 This is mostly used internally by MYParsedCertificate. */
14 @interface MYOID : NSObject <NSCopying>
20 + (MYOID*) OIDFromCSSM: (CSSM_OID)cssmOid;
23 - (id) initWithComponents: (const UInt32*)components count: (unsigned)componentCount;
24 - (id) initWithBEREncoding: (NSData*)encoding;
25 - (NSData*) DEREncoding;
27 - (const UInt32*) components;
28 - (unsigned) componentCount;