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.

61 lines
1.5 KiB

  1. --
  2. -- Microsoft Windows
  3. -- Copyright (C) Microsoft Corporation, 1992 - 1995.
  4. --
  5. -- File: snego.asn
  6. --
  7. -- Contents: Security Negotiation Definitions
  8. --
  9. -- Classes:
  10. --
  11. -- Functions:
  12. --
  13. -- History: 7-29-96 RichardW Created
  14. --
  15. SNEGO DEFINITIONS ::=
  16. BEGIN
  17. MechType2 ::= OBJECT IDENTIFIER
  18. MechTypeList2 ::= SEQUENCE OF MechType2
  19. NegHints2 ::= SEQUENCE {
  20. hintName[0] GeneralString OPTIONAL,
  21. hintAddress[1] OCTET STRING OPTIONAL
  22. }
  23. NegTokenReq2 ::= SEQUENCE {
  24. mechTypes[0] MechTypeList2,
  25. desiredToken[1] OCTET STRING OPTIONAL,
  26. negHints2[2] NegHints2 OPTIONAL
  27. }
  28. NegResult2 ::= ENUMERATED { accept2(0), reject2(1) }
  29. NegResultList2 ::= SEQUENCE OF NegResult2
  30. MechSpecInfo2 ::= OCTET STRING
  31. NegTokenRep2 ::= SEQUENCE {
  32. negResultList[0] NegResultList2,
  33. supportedMech2[1] MechType2 OPTIONAL,
  34. mechSpecInfo2[2] MechSpecInfo2 OPTIONAL
  35. }
  36. -- NegTokenSelect2 ::= SEQUENCE {
  37. -- supportedMech[0] MechType2 OPTIONAL,
  38. -- mechSpecInfo[1] MechSpecInfo2 OPTIONAL
  39. -- }
  40. NegotiationToken2 ::= CHOICE {
  41. negTokenReq[0] NegTokenReq2,
  42. negTokenRep[1] NegTokenRep2
  43. }
  44. END