Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: xasn.h
  8. //
  9. //--------------------------------------------------------------------------
  10. /************************************************************************/
  11. /* Copyright (C) 1998 Open Systems Solutions, Inc. All rights reserved.*/
  12. /************************************************************************/
  13. /* Generated for: Microsoft Corporation */
  14. /* Abstract syntax: xasn */
  15. /* Created: Tue Mar 17 17:07:17 1998 */
  16. /* ASN.1 compiler version: 4.2.6 */
  17. /* Target operating system: Windows NT 3.5 or later/Windows 95 */
  18. /* Target machine type: Intel x86 */
  19. /* C compiler options required: -Zp8 (Microsoft) */
  20. /* ASN.1 compiler options and file names specified:
  21. * -listingfile xasn.lst -noshortennames -1990 -noconstraints
  22. * ..\..\..\tools\ossasn1\ASN1DFLT.ZP8 xasn.asn
  23. */
  24. #ifndef OSS_xasn
  25. #define OSS_xasn
  26. #include "asn1hdr.h"
  27. #include "asn1code.h"
  28. #define EnhancedKeyUsage_PDU 1
  29. #define RequestFlags_PDU 2
  30. #define CSPProvider_PDU 3
  31. #define EnrollmentNameValuePair_PDU 4
  32. typedef struct ObjectID {
  33. unsigned short count;
  34. unsigned long value[16];
  35. } ObjectID;
  36. typedef struct BITSTRING {
  37. unsigned int length; /* number of significant bits */
  38. unsigned char *value;
  39. } BITSTRING;
  40. typedef struct BMPSTRING {
  41. unsigned int length;
  42. unsigned short *value;
  43. } BMPSTRING;
  44. typedef ObjectID UsageIdentifier;
  45. typedef struct EnhancedKeyUsage {
  46. unsigned int count;
  47. UsageIdentifier *value;
  48. } EnhancedKeyUsage;
  49. typedef struct RequestFlags {
  50. ossBoolean fWriteToCSP;
  51. ossBoolean fWriteToDS;
  52. int openFlags;
  53. } RequestFlags;
  54. typedef struct CSPProvider {
  55. int keySpec;
  56. BMPSTRING cspName;
  57. BITSTRING signature;
  58. } CSPProvider;
  59. typedef struct EnrollmentNameValuePair {
  60. BMPSTRING name;
  61. BMPSTRING value;
  62. } EnrollmentNameValuePair;
  63. extern void *xasn; /* encoder-decoder control table */
  64. #endif /* OSS_xasn */