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.

rfc5916.py 800B

1234567891011121314151617181920212223242526272829303132333435
  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. # Device Owner Attribute
  10. #
  11. # ASN.1 source from:
  12. # https://www.rfc-editor.org/rfc/rfc5916.txt
  13. #
  14. from pyasn1.type import univ
  15. from pyasn1_modules import rfc5280
  16. # Device Owner Attribute
  17. id_deviceOwner = univ.ObjectIdentifier((2, 16, 840, 1, 101, 2, 1, 5, 69))
  18. at_deviceOwner = rfc5280.Attribute()
  19. at_deviceOwner['type'] = id_deviceOwner
  20. at_deviceOwner['values'][0] = univ.ObjectIdentifier()
  21. # Add to the map of Attribute Type OIDs to Attributes in rfc5280.py.
  22. _certificateAttributesMapUpdate = {
  23. id_deviceOwner: univ.ObjectIdentifier(),
  24. }
  25. rfc5280.certificateAttributesMap.update(_certificateAttributesMapUpdate)