Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

TestASN1.cxx

/*=========================================================================

  Program: GDCM (Grassroots DICOM). A DICOM library
  Module:  $URL$

  Copyright (c) 2006-2010 Mathieu Malaterre
  All rights reserved.
  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
#include "gdcmASN1.h"

00017 struct MyASN1 : public gdcm::ASN1
{
  int TestPBKDF2()
    {
    return this->gdcm::ASN1::TestPBKDF2();
    }
};

int TestASN1(int argc, char *argv[])
{
  const char *filename = argv[1];
  MyASN1 asn1;
  asn1.ParseDumpFile( filename );

  asn1.TestPBKDF2();

  return 0;
}


Generated by  Doxygen 1.6.0   Back to index