Changed the X.509 version number in generated certs from 1 to 3, so that SecCertificateCreateFromData on iPhone will accept them. :-/
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>
19 - (id) initWithComponents: (const UInt32*)components count: (unsigned)componentCount;
20 - (id) initWithBEREncoding: (NSData*)encoding;
21 - (NSData*) DEREncoding;
23 - (const UInt32*) components;
24 - (unsigned) componentCount;