author | Jens Alfke <jens@mooseyard.com> |
Wed Jun 03 17:22:42 2009 -0700 (2009-06-03) | |
changeset 18 | a06e44b9b898 |
parent 16 | c409dbc4f068 |
child 19 | f6c91b9da05b |
permissions | -rw-r--r-- |
jens@16 | 1 |
// |
jens@16 | 2 |
// MYBERParser.h |
jens@16 | 3 |
// MYCrypto |
jens@16 | 4 |
// |
jens@16 | 5 |
// Created by Jens Alfke on 6/2/09. |
jens@16 | 6 |
// Copyright 2009 Jens Alfke. All rights reserved. |
jens@16 | 7 |
// |
jens@16 | 8 |
|
jens@16 | 9 |
#import <Cocoa/Cocoa.h> |
jens@16 | 10 |
|
jens@16 | 11 |
|
jens@16 | 12 |
#define MYASN1ErrorDomain @"MYASN1ErrorDomain" |
jens@16 | 13 |
|
jens@16 | 14 |
|
jens@16 | 15 |
/** Parses a block of BER-formatted data into an object tree. */ |
jens@16 | 16 |
id MYBERParse (NSData *ber, NSError **outError); |
jens@16 | 17 |
|
jens@17 | 18 |
size_t MYBERGetLength (NSData *ber, NSError **outError); |
jens@17 | 19 |
const void* MYBERGetContents (NSData *ber, NSError **outError); |
jens@17 | 20 |
|
jens@16 | 21 |
NSDateFormatter* MYBERGeneralizedTimeFormatter(); |
jens@16 | 22 |
NSDateFormatter* MYBERUTCTimeFormatter(); |