rfc4491.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # Using the GOST R 34.10-94, GOST R 34.10-2001, and GOST R 34.11-94
  10. # Algorithms with Certificates and CRLs
  11. #
  12. # ASN.1 source from:
  13. # https://www.rfc-editor.org/rfc/rfc4491.txt
  14. #
  15. from pyasn1_modules import rfc4357
  16. # Signature Algorithm GOST R 34.10-94
  17. id_GostR3411_94_with_GostR3410_94 = rfc4357.id_GostR3411_94_with_GostR3410_94
  18. # Signature Algorithm GOST R 34.10-2001
  19. id_GostR3411_94_with_GostR3410_2001 = rfc4357.id_GostR3411_94_with_GostR3410_2001
  20. # GOST R 34.10-94 Keys
  21. id_GostR3410_94 = rfc4357.id_GostR3410_94
  22. GostR3410_2001_PublicKey = rfc4357.GostR3410_2001_PublicKey
  23. GostR3410_2001_PublicKeyParameters = rfc4357.GostR3410_2001_PublicKeyParameters
  24. # GOST R 34.10-2001 Keys
  25. id_GostR3410_2001 = rfc4357.id_GostR3410_2001
  26. GostR3410_94_PublicKey = rfc4357.GostR3410_94_PublicKey
  27. GostR3410_94_PublicKeyParameters = rfc4357.GostR3410_94_PublicKeyParameters