ASN1HelperLib.h
Go to the documentation of this file.00001
00010 #ifndef __ASN1HELPERLIB_H__
00011 #define __ASN1HELPERLIB_H__
00012
00013 #if _MSC_VER > 1000
00014 #pragma once
00015 #endif // _MSC_VER > 1000
00016
00017 extern "C"
00018 {
00019 #include "ooasn1.h"
00020 #include "asn1ber.h"
00021
00022 }
00023 #include "PKIFString.h"
00024 #include "PKIX1Implicit88.h"
00025 #include "GeneralName.h"
00026 #include "components.h"
00027
00028 void FreeASN1Context(OOCTXT* ctx);
00029 void CopyOID(ASN1OBJID* dest, ASN1OBJID* src);
00030 ASN1OBJID* ConvertStringToASN1OBJID(const CPKIFStringPtr& str);
00031
00032 void CopyGeneralName(CACX509V3GeneralName& objName, CPKIFGeneralNamePtr& gn);
00033 void CopyName(CACX509V3Name** dest, CACX509V3Name& name);
00034 void CopyName(CACX509V3Name* dest, CACX509V3Name& name);
00035
00036 #endif //__ASN1HELPERLIB_H__
00037