Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
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.

rfc7633.py 841B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # This file is part of pyasn1-modules software.
  3. #
  4. # Created by Russ Housley with some assistance from asn1ate v.0.6.0.
  5. #
  6. # Copyright (c) 2019, Vigil Security, LLC
  7. # License: http://snmplabs.com/pyasn1/license.html
  8. #
  9. # Transport Layer Security (TLS) Feature Certificate Extension
  10. #
  11. # ASN.1 source from:
  12. # https://www.rfc-editor.org/rfc/rfc7633.txt
  13. #
  14. from pyasn1.type import univ
  15. from pyasn1_modules import rfc5280
  16. # TLS Features Extension
  17. id_pe = univ.ObjectIdentifier('1.3.6.1.5.5.7.1')
  18. id_pe_tlsfeature = id_pe + (24, )
  19. class Features(univ.SequenceOf):
  20. componentType = univ.Integer()
  21. # Map of Certificate Extension OIDs to Extensions added to the
  22. # ones that are in rfc5280.py
  23. _certificateExtensionsMapUpdate = {
  24. id_pe_tlsfeature: Features(),
  25. }
  26. rfc5280.certificateExtensionsMap.update(_certificateExtensionsMapUpdate)