13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/* $Id$ */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/** @file
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * IPRT - Crypto - Microsoft SPC / Authenticode, Code Generator Template.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Copyright (C) 2006-2014 Oracle Corporation
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * available from http://www.virtualbox.org. This file is free software;
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * you can redistribute it and/or modify it under the terms of the GNU
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * General Public License (GPL) as published by the Free Software
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * The contents of this file may alternatively be used under the terms
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * of the Common Development and Distribution License Version 1.0
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * VirtualBox OSE distribution, in which case the provisions of the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * CDDL are applicable instead of those of the GPL.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * You may elect to license modified versions of this file under the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * terms and conditions of either the GPL or the CDDL or both.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_DECL RTDECL
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * One SPC Serialized Page Hashes V2 Object.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsync#define RTASN1TMPL_TYPE RTCRSPCSERIALIZEDPAGEHASHES
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcSerializedPageHashes
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcSerializedPageHashes
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SETCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( RawData, RTASN1OCTETSTRING, RTAsn1OctetString);
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsyncRTASN1TMPL_EXEC_DECODE( rc = RTCrSpcSerializedPageHashes_UpdateDerivedData(pThis) ) /* no ; */
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsyncRTASN1TMPL_EXEC_CLONE( rc = RTCrSpcSerializedPageHashes_UpdateDerivedData(pThis) ) /* no ; */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SETCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * One SPC Serialized Object Attribute.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCSERIALIZEDOBJECTATTRIBUTE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcSerializedObjectAttribute
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcSerializedObjectAttribute
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( Type, RTASN1OBJID, RTAsn1ObjId);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_BEGIN( RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE, enmType, Allocation);
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsyncRTASN1TMPL_MEMBER_DYN( u, pPageHashes, RTCRSPCSERIALIZEDPAGEHASHES, RTCrSpcSerializedPageHashes, Allocation, enmType,
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsync RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE_PAGE_HASHES_V1, RTAsn1ObjId_CompareWithString(&pThis->Type, RTCRSPC_PE_IMAGE_HASHES_V1_OID) == 0);
72ae3c29eeae4b10f2b363d6fd090cf1e9bdd145vboxsyncRTASN1TMPL_MEMBER_DYN( u, pPageHashes, RTCRSPCSERIALIZEDPAGEHASHES, RTCrSpcSerializedPageHashes, Allocation, enmType,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE_PAGE_HASHES_V2, RTAsn1ObjId_CompareWithString(&pThis->Type, RTCRSPC_PE_IMAGE_HASHES_V2_OID) == 0);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_DEFAULT( u, pCore, RTASN1CORE, RTAsn1Core, Allocation, enmType, RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE_UNKNOWN);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_END( RTCRSPCSERIALIZEDOBJECTATTRIBUTETYPE, enmType, Allocation);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Set of SPC Serialized Object Attributes.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCSERIALIZEDOBJECTATTRIBUTES
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcSerializedObjectAttributes
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcSerializedObjectAttributes
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_SET_OF(RTCRSPCSERIALIZEDOBJECTATTRIBUTE, RTCrSpcSerializedObjectAttribute);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * One SPC Serialized Object.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCSERIALIZEDOBJECT
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcSerializedObject
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcSerializedObject
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_EX( Uuid, RTASN1OCTETSTRING, RTAsn1OctetString,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync RTASN1TMPL_MEMBER_CONSTR_MIN_MAX(Uuid, RTASN1OCTETSTRING, RTAsn1OctetString, 16, 16, RT_NOTHING));
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( SerializedData, RTASN1OCTETSTRING, RTAsn1OctetString);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_EXEC_DECODE( rc = rtCrSpcSerializedObject_DecodeMore(pCursor, fFlags, pThis, pszErrorTag) ) /* no ; */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Choosy SPC strings.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCSTRING
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcString
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcString
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_PCHOICE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_PCHOICE_ITAG_CP( 0, RTCRSPCSTRINGCHOICE_UCS2, u.pUcs2, Ucs2, RTASN1STRING, RTAsn1BmpString);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_PCHOICE_ITAG_CP( 1, RTCRSPCSTRINGCHOICE_ASCII, u.pAscii, Ascii, RTASN1STRING, RTAsn1Ia5String);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_PCHOICE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * SPC Link.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCLINK
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcLink
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcLink
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_PCHOICE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_PCHOICE_ITAG_CP( 0, RTCRSPCLINKCHOICE_URL, u.pUrl, Url, RTASN1STRING, RTAsn1Ia5String);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_PCHOICE_ITAG( 1, RTCRSPCLINKCHOICE_MONIKER, u.pMoniker, Moniker, RTCRSPCSERIALIZEDOBJECT, RTCrSpcSerializedObject);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_PCHOICE_XTAG( 2, RTCRSPCLINKCHOICE_FILE, u.pT2, CtxTag2, File, RTCRSPCSTRING, RTCrSpcString);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_PCHOICE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * SPC PE Image Data.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Note! This is not correctly declared in available specifications. The file
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * member is tagged. Seeing the the '--#public--' comment in the specs,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * one can't only guess that there are other alternatives in that part
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * of the structure that microsoft does not wish to document.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCPEIMAGEDATA
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcPeImageData
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcPeImageData
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/** @todo The flags defaults to includeResources. Could be expressed here rather
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * than left to the user to deal with. */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_OPT_ITAG_EX( Flags, RTASN1BITSTRING, RTAsn1BitString, ASN1_TAG_BIT_STRING, RTASN1TMPL_ITAG_F_UP,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync RTASN1TMPL_MEMBER_CONSTR_BITSTRING_MIN_MAX(Flags, 0, 3, RT_NOTHING));
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_OPT_XTAG_EX( T0, CtxTag0, File, RTCRSPCLINK, RTCrSpcLink, 0, \
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync RTASN1TMPL_MEMBER_CONSTR_PRESENT(T0.File, RTCrSpcLink, RT_NOTHING));
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * SPC Attribute Type And Optional Value.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync *
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Note! The value doesn't look very optional in available examples and specs.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * The available specs also claim there is an explicit 0 tag around the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * data, which isn't there is in signed executables. Gotta love Microsoft...
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCATTRIBUTETYPEANDOPTIONALVALUE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcAttributeTypeAndOptionalValue
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcAttributeTypeAndOptionalValue
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( Type, RTASN1OBJID, RTAsn1ObjId);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_BEGIN( RTCRSPCAAOVTYPE, enmType, Allocation);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN( uValue, pPeImage, RTCRSPCPEIMAGEDATA, RTCrSpcPeImageData, Allocation, enmType,
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync RTCRSPCAAOVTYPE_PE_IMAGE_DATA, RTAsn1ObjId_CompareWithString(&pThis->Type, RTCRSPCPEIMAGEDATA_OID) == 0);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_DEFAULT( uValue, pCore, RTASN1CORE, RTAsn1Core, Allocation, enmType, RTCRSPCAAOVTYPE_UNKNOWN);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER_DYN_END( RTCRSPCAAOVTYPE, enmType, Allocation);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync/*
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * SPC Indirect Data Content.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync */
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_TYPE RTCRSPCINDIRECTDATACONTENT
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_EXT_NAME RTCrSpcIndirectDataContent
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#define RTASN1TMPL_INT_NAME rtCrSpcIndirectDataContent
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_BEGIN_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( Data, RTCRSPCATTRIBUTETYPEANDOPTIONALVALUE, RTCrSpcAttributeTypeAndOptionalValue);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_MEMBER( DigestInfo, RTCRPKCS7DIGESTINFO, RTCrPkcs7DigestInfo);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsyncRTASN1TMPL_END_SEQCORE();
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_TYPE
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_EXT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync#undef RTASN1TMPL_INT_NAME
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync