rfc6187.py 489 B

12345678910111213141516171819202122
  1. #
  2. # This file is part of pyasn1-modules software.
  3. #
  4. # Created by Russ Housley.
  5. #
  6. # Copyright (c) 2019, Vigil Security, LLC
  7. # License: http://snmplabs.com/pyasn1/license.html
  8. #
  9. # X.509v3 Certificates for Secure Shell Authentication
  10. #
  11. # ASN.1 source from:
  12. # https://www.rfc-editor.org/rfc/rfc6187.txt
  13. #
  14. from pyasn1.type import univ
  15. id_pkix = univ.ObjectIdentifier('1.3.6.1.5.5.7')
  16. id_kp = id_pkix + (3, )
  17. id_kp_secureShellClient = id_kp + (21, )
  18. id_kp_secureShellServer = id_kp + (22, )