00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 Module: $URL$ 00005 00006 Copyright (c) 2006-2010 Mathieu Malaterre 00007 All rights reserved. 00008 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 #ifndef GDCMASN1_H 00016 #define GDCMASN1_H 00017 00018 #include "gdcmTypes.h" 00019 00020 00021 namespace gdcm 00022 { 00023 //----------------------------------------------------------------------------- 00024 class ASN1Internals; 00029 class GDCM_EXPORT ASN1 00030 { 00031 public : 00032 ASN1(); 00033 ~ASN1(); 00034 00035 static bool ParseDumpFile(const char *filename); 00036 00037 static bool ParseDump(const char *array, size_t length); 00038 00039 protected: 00040 int TestPBKDF2(); 00041 00042 private: 00043 ASN1Internals *Internals; 00044 private: 00045 ASN1(const ASN1&); // Not implemented. 00046 void operator=(const ASN1&); // Not implemented. 00047 }; 00048 } // end namespace gdcm 00049 //----------------------------------------------------------------------------- 00050 #endif //GDCMASN1_H