jens@16: // jens@16: // MYBERParser.h jens@16: // MYCrypto jens@16: // jens@16: // Created by Jens Alfke on 6/2/09. jens@16: // Copyright 2009 Jens Alfke. All rights reserved. jens@16: // jens@16: jens@19: #import jens@16: jens@16: jens@16: #define MYASN1ErrorDomain @"MYASN1ErrorDomain" jens@16: jens@16: jens@19: /** Parses a block of BER-formatted data into an object tree. jens@19: This is mostly used internally by MYParsedCertificate. */ jens@16: id MYBERParse (NSData *ber, NSError **outError); jens@16: jens@17: size_t MYBERGetLength (NSData *ber, NSError **outError); jens@17: const void* MYBERGetContents (NSData *ber, NSError **outError); jens@17: jens@16: NSDateFormatter* MYBERGeneralizedTimeFormatter(); jens@16: NSDateFormatter* MYBERUTCTimeFormatter();