Source code of Windows XP (NT5)
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.

92 lines
2.8 KiB

  1. -- ROOT KEYGEN
  2. --<COPYRIGHT "Copyright (C) Microsoft Corporation, 1996 - 1996" | OBJECTID 16 |
  3. -- OBJECTID LONG | LENGTHSIZE LONG | SUPPRESS 0433, 0427, 0391 | TARGET NT |
  4. -- CHARSIZE 1 | SHORTSIZE 2 | INTSIZE 4 | LONGSIZE 4 | LONGLONGSIZE 8 |
  5. -- CHARENUMSIZE 4 | UCHARENUMSIZE 4 | SHORTENUMSIZE 4 | USHORTENUMSIZE 4 |
  6. -- LONGENUMSIZE 4 | GENERICENUMSIZE 4 | FLOATSIZE 4 | DOUBLESIZE 8 |
  7. -- POINTERSIZE 4 | SHORTMAX 32767 | INTMAX 2147483647 | LONGMAX 2147483647 |
  8. -- LONGLONGMAX 9223372036854775807 | USHORTMAX 65535 | UINTMAX 4294967295 |
  9. -- ULONGMAX 4294967295 | ULONGLONGMAX 18446744073709551615 | SHORTMIN -32768 |
  10. -- INTMIN -2147483648 | LONGMIN -2147483648 |
  11. -- LONGLONGMIN -9223372036854775808 | UALIGN 0 |
  12. -- ALIGNMENT 1,2,4,4,8,4,4,8,1,1,4,4,4,1,1,2,4,4,8,4,4,8,1,1,4,4,4,8 |
  13. -- MANDATORYOPTIONS "-Zp8 (Microsoft) or equivalent" |
  14. -- OPERATINGSYSTEM "Windows NT 3.5 or later/Windows 95" |
  15. -- MACHINETYPE "Intel x86" | NOPDU |
  16. -- UNBOUNDED OCTET STRING, BIT STRING, SEQUENCE OF, SET OF | NOVALUE>--
  17. KEYGEN
  18. DEFINITIONS EXPLICIT TAGS
  19. --<NOPDU | NOVALUE>--
  20. ::=
  21. BEGIN
  22. HUGEINTEGER ::= INTEGER --<HUGE>--
  23. BITSTRING ::= BIT STRING --<UNBOUNDED>--
  24. OCTETSTRING ::= OCTET STRING --<UNBOUNDED>--
  25. NUMERICSTRING ::= NumericString --<UNBOUNDED>--
  26. PRINTABLESTRING ::= PrintableString --<UNBOUNDED>--
  27. TELETEXSTRING ::= TeletexString --<UNBOUNDED>--
  28. T61STRING ::= T61String --<UNBOUNDED>--
  29. VIDEOTEXSTRING ::= VideotexString --<UNBOUNDED>--
  30. IA5STRING ::= IA5String --<UNBOUNDED>--
  31. GRAPHICSTRING ::= GraphicString --<UNBOUNDED>--
  32. VISIBLESTRING ::= VisibleString --<UNBOUNDED>--
  33. ISO646STRING ::= ISO646String --<UNBOUNDED>--
  34. GENERALSTRING ::= GeneralString --<UNBOUNDED>--
  35. UNIVERSALSTRING ::= UniversalString --<UNBOUNDED>--
  36. BMPSTRING ::= BMPString --<UNBOUNDED>--
  37. AlgorithmIdentifier ::= SEQUENCE {
  38. algorithm OBJECT IDENTIFIER,
  39. parameters ANY --<ENCODABLE>-- OPTIONAL
  40. }
  41. DigestInfo ::= SEQUENCE {
  42. digestAlgorithm AlgorithmIdentifier,
  43. digest OCTETSTRING
  44. }
  45. RSAPublicKey ::= SEQUENCE {
  46. modulus HUGEINTEGER,
  47. publicExponent INTEGER
  48. } --<PDU>--
  49. SubjectPublicKeyInfo ::= SEQUENCE {
  50. algorithm AlgorithmIdentifier,
  51. subjectPublicKey BITSTRING
  52. } --<PDU>--
  53. SignedContent ::= SEQUENCE {
  54. toBeSigned ANY --<ENCODABLE>--,
  55. algorithm AlgorithmIdentifier,
  56. signature BITSTRING
  57. } --<PDU>--
  58. PublicKeyAndChallenge ::= SEQUENCE {
  59. spki SubjectPublicKeyInfo,
  60. challenge IA5STRING
  61. }
  62. SignedPublicKeyAndChallenge ::= SEQUENCE {
  63. publicKeyAndChallenge PublicKeyAndChallenge,
  64. signatureAlgorithm AlgorithmIdentifier,
  65. signature BIT STRING
  66. } --<PDU>--
  67. END