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.

45 lines
1.5 KiB

  1. <%' CODEPAGE=65001 'UTF-8%>
  2. <%' certrqtp.inc - (CERT)srv web - (R)e(Q)uest, available (T)y(P)es
  3. ' Copyright (C) Microsoft Corporation, 1998 - 1999 %>
  4. <%
  5. ' NOTE: certdat.inc must be included first!
  6. Dim nAvailReqTypes
  7. Dim rgAvailReqTypes(1,4)
  8. Dim sUserAgent
  9. Const FIELD_OID=0
  10. Const FIELD_TEMPLATE=0
  11. Const FIELD_FRIENDLYNAME=1
  12. Const FIELD_CSPLIST=2
  13. Const FIELD_CSPLIST2=3
  14. ' Strings for localization
  15. Const L_WebBrowserCert_Text="Web Browser Certificate"
  16. Const L_EmailProtectionCert_Text="E-Mail Protection Certificate"
  17. Const L_UserTemplateCert_Text="User Certificate" 'Note: should match localized name of 'User' template and certrqma.asp's localized string L_TemplateCert_Text
  18. If "StandAlone"=sServerType Then
  19. '
  20. ' Request types for stand alone
  21. '
  22. rgAvailReqTypes(0,FIELD_OID)="1.3.6.1.5.5.7.3.2"
  23. rgAvailReqTypes(0,FIELD_FRIENDLYNAME)=L_WebBrowserCert_Text
  24. rgAvailReqTypes(0,FIELD_CSPLIST)=""
  25. rgAvailReqTypes(1,FIELD_OID)="1.3.6.1.5.5.7.3.4"
  26. rgAvailReqTypes(1,FIELD_FRIENDLYNAME)=L_EmailProtectionCert_Text
  27. rgAvailReqTypes(1,FIELD_CSPLIST)=""
  28. nAvailReqTypes=2
  29. Else
  30. '
  31. ' Request types for enterprise
  32. '
  33. rgAvailReqTypes(0,FIELD_TEMPLATE)="User"
  34. rgAvailReqTypes(0,FIELD_FRIENDLYNAME)=L_UserTemplateCert_Text
  35. rgAvailReqTypes(0,FIELD_CSPLIST)="Microsoft Enhanced Cryptographic Provider v1.0?Microsoft Base Cryptographic Provider v1.0"
  36. rgAvailReqTypes(0,FIELD_CSPLIST2)="Microsoft Base Cryptographic Provider v1.0?Microsoft Enhanced Cryptographic Provider v1.0"
  37. nAvailReqTypes=1
  38. End If
  39. %>