author | Jens Alfke <jens@mooseyard.com> |
Sat Jun 06 15:36:35 2009 -0700 (2009-06-06) | |
changeset 22 | 058394513f33 |
parent 16 | c409dbc4f068 |
permissions | -rw-r--r-- |
1 //
2 // MYDEREncoder.h
3 // MYCrypto
4 //
5 // Created by Jens Alfke on 5/29/09.
6 // Copyright 2009 Jens Alfke. All rights reserved.
7 //
9 #import <Foundation/Foundation.h>
12 @interface MYDEREncoder : NSObject
13 {
14 @private
15 id _rootObject;
16 NSMutableData *_output;
17 NSError *_error;
18 BOOL _forcePrintableStrings;
19 }
21 - (id) initWithRootObject: (id)object;
22 + (NSData*) encodeRootObject: (id)rootObject error: (NSError**)outError;
24 @property (readonly) NSData* output;
25 @property (readonly, retain) NSError *error;
27 @end