|
|
/*****************************************************************************\
FILE: localsign.h
DESCRIPTION: This code will sign and verify the signature of a Visual Style file.
BryanSt 8/1/2000 (Bryan Starbuck) Copyright (C) Microsoft Corp 2000-2000. All rights reserved. \*****************************************************************************/
#ifndef PACKTHEM_SIGNING_H
#define PACKTHEM_SIGNING_H
#include <utils.h>
#include <shlwapip.h>
#include "localsign.h"
#include "..\inc\signing.h"
HRESULT SignTheme(IN LPCWSTR pszFileName, int nWeek); HRESULT CheckSignatureThemeInternal(IN LPCWSTR pszFileName); HRESULT GenerateKeys(IN LPCWSTR pszFileName);
/*****************************************************************************\
WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
Do NOT let this private key be included in anything except packthem.exe
WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
You can create new key pairs by running "packthem.exe -g gofaster" \*****************************************************************************/
const BYTE s_keyPrivate1[] = // Private Key: #1
{ 0x07, 0x02, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x52, 0x53, 0x41, 0x32, 0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x73, 0xAA, 0xFD, 0xFE, 0x2E, 0x34, 0x75, 0x3B, 0xC2, 0x20, 0x72, 0xFC, 0x50, 0xCC, 0xD4, 0xE0, 0xDE, 0xC7, 0xA6, 0x46, 0xC6, 0xDC, 0xE6, 0x6B, 0xF0, 0x58, 0x11, 0x88, 0x66, 0x54, 0x5F, 0x3D, 0x81, 0x8C, 0xEF, 0x5F, 0x89, 0x51, 0xE4, 0x9C, 0x3F, 0x57, 0xA6, 0x22, 0xA9, 0xE7, 0x0F, 0x4B, 0x56, 0x81, 0xD1, 0xA6, 0xBA, 0x24, 0xFF, 0x93, 0x17, 0xFE, 0x64, 0xEF, 0xE5, 0x11, 0x90, 0x00, 0xDC, 0x37, 0xC2, 0x84, 0xEE, 0x7B, 0x12, 0x43, 0xA4, 0xAF, 0xC3, 0x69, 0x57, 0xD1, 0x92, 0x96, 0x8E, 0x55, 0x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