pyasn1-alt-modules 0.4.1__py2.py3-none-any.whl → 0.4.3__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyasn1-alt-modules might be problematic. Click here for more details.

Files changed (190) hide show
  1. pyasn1_alt_modules/__init__.py +1 -1
  2. pyasn1_alt_modules/opentypemap.py +1 -1
  3. pyasn1_alt_modules/pem.py +1 -1
  4. pyasn1_alt_modules/rfc1155.py +1 -1
  5. pyasn1_alt_modules/rfc1157.py +1 -1
  6. pyasn1_alt_modules/rfc1901.py +1 -1
  7. pyasn1_alt_modules/rfc1902.py +1 -1
  8. pyasn1_alt_modules/rfc1905.py +1 -1
  9. pyasn1_alt_modules/rfc2040.py +1 -1
  10. pyasn1_alt_modules/rfc2251.py +1 -1
  11. pyasn1_alt_modules/rfc2314.py +1 -1
  12. pyasn1_alt_modules/rfc2315.py +1 -1
  13. pyasn1_alt_modules/rfc2437.py +1 -1
  14. pyasn1_alt_modules/rfc2459.py +1 -1
  15. pyasn1_alt_modules/rfc2511.py +1 -1
  16. pyasn1_alt_modules/rfc2528.py +1 -1
  17. pyasn1_alt_modules/rfc2560.py +1 -1
  18. pyasn1_alt_modules/rfc2631.py +1 -1
  19. pyasn1_alt_modules/rfc2634.py +1 -1
  20. pyasn1_alt_modules/rfc2743.py +1 -1
  21. pyasn1_alt_modules/rfc2876.py +1 -1
  22. pyasn1_alt_modules/rfc2898.py +72 -0
  23. pyasn1_alt_modules/rfc2985.py +1 -1
  24. pyasn1_alt_modules/rfc2986.py +1 -1
  25. pyasn1_alt_modules/rfc3058.py +1 -1
  26. pyasn1_alt_modules/rfc3114.py +1 -1
  27. pyasn1_alt_modules/rfc3125.py +1 -1
  28. pyasn1_alt_modules/rfc3161.py +1 -1
  29. pyasn1_alt_modules/rfc3217.py +1 -1
  30. pyasn1_alt_modules/rfc3274.py +1 -1
  31. pyasn1_alt_modules/rfc3279.py +1 -1
  32. pyasn1_alt_modules/rfc3280.py +1 -1
  33. pyasn1_alt_modules/rfc3281.py +1 -1
  34. pyasn1_alt_modules/rfc3370.py +1 -1
  35. pyasn1_alt_modules/rfc3412.py +1 -1
  36. pyasn1_alt_modules/rfc3414.py +1 -1
  37. pyasn1_alt_modules/rfc3447.py +1 -1
  38. pyasn1_alt_modules/rfc3537.py +1 -1
  39. pyasn1_alt_modules/rfc3546.py +23 -0
  40. pyasn1_alt_modules/rfc3560.py +1 -1
  41. pyasn1_alt_modules/rfc3565.py +1 -1
  42. pyasn1_alt_modules/rfc3657.py +1 -1
  43. pyasn1_alt_modules/rfc3709.py +1 -1
  44. pyasn1_alt_modules/rfc3739.py +6 -3
  45. pyasn1_alt_modules/rfc3770.py +1 -1
  46. pyasn1_alt_modules/rfc3779.py +1 -1
  47. pyasn1_alt_modules/rfc3820.py +1 -1
  48. pyasn1_alt_modules/rfc3852.py +1 -1
  49. pyasn1_alt_modules/rfc3874.py +1 -1
  50. pyasn1_alt_modules/rfc4010.py +1 -1
  51. pyasn1_alt_modules/rfc4043.py +1 -1
  52. pyasn1_alt_modules/rfc4055.py +1 -1
  53. pyasn1_alt_modules/rfc4056.py +1 -1
  54. pyasn1_alt_modules/rfc4059.py +1 -1
  55. pyasn1_alt_modules/rfc4073.py +1 -1
  56. pyasn1_alt_modules/rfc4108.py +1 -1
  57. pyasn1_alt_modules/rfc4210.py +1 -1
  58. pyasn1_alt_modules/rfc4211.py +1 -1
  59. pyasn1_alt_modules/rfc4231.py +1 -1
  60. pyasn1_alt_modules/rfc4262.py +1 -1
  61. pyasn1_alt_modules/rfc4334.py +1 -1
  62. pyasn1_alt_modules/rfc4357.py +1 -1
  63. pyasn1_alt_modules/rfc4366.py +23 -0
  64. pyasn1_alt_modules/rfc4387.py +1 -1
  65. pyasn1_alt_modules/rfc4476.py +1 -1
  66. pyasn1_alt_modules/rfc4490.py +1 -1
  67. pyasn1_alt_modules/rfc4491.py +1 -1
  68. pyasn1_alt_modules/rfc4683.py +1 -1
  69. pyasn1_alt_modules/rfc4985.py +1 -1
  70. pyasn1_alt_modules/rfc4998.py +1 -1
  71. pyasn1_alt_modules/rfc5035.py +1 -1
  72. pyasn1_alt_modules/rfc5055.py +1 -1
  73. pyasn1_alt_modules/rfc5083.py +1 -1
  74. pyasn1_alt_modules/rfc5084.py +1 -1
  75. pyasn1_alt_modules/rfc5126.py +1 -1
  76. pyasn1_alt_modules/rfc5208.py +1 -1
  77. pyasn1_alt_modules/rfc5275.py +1 -1
  78. pyasn1_alt_modules/rfc5276.py +1 -1
  79. pyasn1_alt_modules/rfc5280.py +3 -2
  80. pyasn1_alt_modules/rfc5480.py +1 -1
  81. pyasn1_alt_modules/rfc5544.py +1 -1
  82. pyasn1_alt_modules/rfc5636.py +1 -1
  83. pyasn1_alt_modules/rfc5639.py +1 -1
  84. pyasn1_alt_modules/rfc5649.py +1 -1
  85. pyasn1_alt_modules/rfc5652.py +1 -1
  86. pyasn1_alt_modules/rfc5697.py +1 -1
  87. pyasn1_alt_modules/rfc5698.py +159 -0
  88. pyasn1_alt_modules/rfc5751.py +1 -1
  89. pyasn1_alt_modules/rfc5752.py +1 -1
  90. pyasn1_alt_modules/rfc5753.py +1 -1
  91. pyasn1_alt_modules/rfc5755.py +1 -1
  92. pyasn1_alt_modules/rfc5913.py +1 -1
  93. pyasn1_alt_modules/rfc5914.py +1 -1
  94. pyasn1_alt_modules/rfc5915.py +1 -1
  95. pyasn1_alt_modules/rfc5916.py +1 -1
  96. pyasn1_alt_modules/rfc5917.py +1 -1
  97. pyasn1_alt_modules/rfc5924.py +1 -1
  98. pyasn1_alt_modules/rfc5934.py +1 -1
  99. pyasn1_alt_modules/rfc5940.py +1 -1
  100. pyasn1_alt_modules/rfc5958.py +1 -1
  101. pyasn1_alt_modules/rfc5990.py +1 -1
  102. pyasn1_alt_modules/rfc6010.py +1 -1
  103. pyasn1_alt_modules/rfc6019.py +1 -1
  104. pyasn1_alt_modules/rfc6031.py +1 -1
  105. pyasn1_alt_modules/rfc6032.py +1 -1
  106. pyasn1_alt_modules/rfc6066.py +1 -1
  107. pyasn1_alt_modules/rfc6120.py +1 -1
  108. pyasn1_alt_modules/rfc6170.py +1 -1
  109. pyasn1_alt_modules/rfc6187.py +1 -1
  110. pyasn1_alt_modules/rfc6210.py +1 -1
  111. pyasn1_alt_modules/rfc6211.py +1 -1
  112. pyasn1_alt_modules/rfc6402.py +1 -1
  113. pyasn1_alt_modules/rfc6482.py +1 -1
  114. pyasn1_alt_modules/rfc6484.py +1 -1
  115. pyasn1_alt_modules/rfc6486.py +1 -1
  116. pyasn1_alt_modules/rfc6487.py +1 -1
  117. pyasn1_alt_modules/rfc6492.py +1 -1
  118. pyasn1_alt_modules/rfc6493.py +1 -1
  119. pyasn1_alt_modules/rfc6494.py +1 -1
  120. pyasn1_alt_modules/rfc6664.py +1 -1
  121. pyasn1_alt_modules/rfc6955.py +1 -1
  122. pyasn1_alt_modules/rfc6960.py +1 -1
  123. pyasn1_alt_modules/rfc6962.py +1 -1
  124. pyasn1_alt_modules/rfc7030.py +1 -1
  125. pyasn1_alt_modules/rfc7191.py +1 -1
  126. pyasn1_alt_modules/rfc7229.py +1 -1
  127. pyasn1_alt_modules/rfc7292.py +1 -1
  128. pyasn1_alt_modules/rfc7296.py +1 -1
  129. pyasn1_alt_modules/rfc7508.py +1 -1
  130. pyasn1_alt_modules/rfc7585.py +1 -1
  131. pyasn1_alt_modules/rfc7633.py +1 -1
  132. pyasn1_alt_modules/rfc7693.py +1 -1
  133. pyasn1_alt_modules/rfc7773.py +1 -1
  134. pyasn1_alt_modules/rfc7836.py +1 -1
  135. pyasn1_alt_modules/rfc7894.py +1 -1
  136. pyasn1_alt_modules/rfc7906.py +1 -1
  137. pyasn1_alt_modules/rfc7914.py +1 -1
  138. pyasn1_alt_modules/rfc8017.py +1 -1
  139. pyasn1_alt_modules/rfc8018.py +1 -1
  140. pyasn1_alt_modules/rfc8103.py +1 -1
  141. pyasn1_alt_modules/rfc8209.py +1 -1
  142. pyasn1_alt_modules/rfc8226.py +1 -1
  143. pyasn1_alt_modules/rfc8358.py +1 -1
  144. pyasn1_alt_modules/rfc8360.py +1 -1
  145. pyasn1_alt_modules/rfc8398.py +1 -1
  146. pyasn1_alt_modules/rfc8410.py +1 -1
  147. pyasn1_alt_modules/rfc8418.py +1 -1
  148. pyasn1_alt_modules/rfc8419.py +1 -1
  149. pyasn1_alt_modules/rfc8479.py +1 -1
  150. pyasn1_alt_modules/rfc8494.py +1 -1
  151. pyasn1_alt_modules/rfc8520.py +1 -1
  152. pyasn1_alt_modules/rfc8619.py +1 -1
  153. pyasn1_alt_modules/rfc8649.py +1 -1
  154. pyasn1_alt_modules/rfc8692.py +1 -1
  155. pyasn1_alt_modules/rfc8696.py +1 -1
  156. pyasn1_alt_modules/rfc8702.py +1 -1
  157. pyasn1_alt_modules/rfc8708.py +3 -2
  158. pyasn1_alt_modules/rfc8737.py +1 -1
  159. pyasn1_alt_modules/rfc8769.py +1 -1
  160. pyasn1_alt_modules/rfc8894.py +1 -1
  161. pyasn1_alt_modules/rfc8951.py +1 -1
  162. pyasn1_alt_modules/rfc8994.py +1 -1
  163. pyasn1_alt_modules/rfc8995.py +1 -1
  164. pyasn1_alt_modules/rfc9044.py +1 -1
  165. pyasn1_alt_modules/rfc9092.py +1 -1
  166. pyasn1_alt_modules/rfc9118.py +1 -1
  167. pyasn1_alt_modules/rfc9174.py +1 -1
  168. pyasn1_alt_modules/rfc9189.py +1 -1
  169. pyasn1_alt_modules/rfc9215.py +228 -0
  170. pyasn1_alt_modules/rfc9286.py +78 -0
  171. pyasn1_alt_modules/rfc9289.py +22 -0
  172. pyasn1_alt_modules/rfc9310.py +46 -0
  173. pyasn1_alt_modules/rfc9323.py +129 -0
  174. pyasn1_alt_modules/rfc9336.py +20 -0
  175. pyasn1_alt_modules/rfc9337.py +74 -0
  176. pyasn1_alt_modules/rfc9345.py +36 -0
  177. pyasn1_alt_modules/rfc9385.py +22 -0
  178. pyasn1_alt_modules/rfc9399.py +59 -0
  179. pyasn1_alt_modules/rfc9480.py +716 -0
  180. pyasn1_alt_modules/rfc9481.py +224 -0
  181. pyasn1_alt_modules/rfc9509.py +24 -0
  182. {pyasn1_alt_modules-0.4.1.dist-info → pyasn1_alt_modules-0.4.3.dist-info}/LICENSE.txt +1 -1
  183. {pyasn1_alt_modules-0.4.1.dist-info → pyasn1_alt_modules-0.4.3.dist-info}/METADATA +5 -5
  184. pyasn1_alt_modules-0.4.3.dist-info/RECORD +187 -0
  185. {pyasn1_alt_modules-0.4.1.dist-info → pyasn1_alt_modules-0.4.3.dist-info}/WHEEL +1 -1
  186. pyasn1_alt_modules/addon.py +0 -284
  187. pyasn1_alt_modules/rfc5794.py +0 -391
  188. pyasn1_alt_modules-0.4.1.dist-info/RECORD +0 -172
  189. {pyasn1_alt_modules-0.4.1.dist-info → pyasn1_alt_modules-0.4.3.dist-info}/top_level.txt +0 -0
  190. {pyasn1_alt_modules-0.4.1.dist-info → pyasn1_alt_modules-0.4.3.dist-info}/zip-safe +0 -0
@@ -1,2 +1,2 @@
1
1
  # http://www.python.org/dev/peps/pep-0396/
2
- __version__ = '0.4.1'
2
+ __version__ = '0.4.3'
@@ -5,7 +5,7 @@
5
5
  # ASN.1 modules to share the same maps.
6
6
  #
7
7
  # Created by Russ Housley
8
- # Copyright (c) 2021-2022, Vigil Security, LLC
8
+ # Copyright (c) 2021-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
 
pyasn1_alt_modules/pem.py CHANGED
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  import base64
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv1 message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv1 message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv2c message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv2c message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv2c PDU syntax
@@ -5,7 +5,7 @@
5
5
  # Modified by Russ Housley to include the opentypemap manager and
6
6
  # update the S/MIME Capability map.
7
7
  #
8
- # Copyright (c) 2021-2022, Vigil Security, LLC
8
+ # Copyright (c) 2021-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # Identifiers for RC5
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # LDAP message syntax
@@ -4,7 +4,7 @@
4
4
  # Modified by Russ Housley to import from RFC 5280 instead of RFC 2459.
5
5
  #
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # PKCS#10 syntax
@@ -4,7 +4,7 @@
4
4
  # Modified by Russ Housley to import from RFC 5280 instead of RFC 2459.
5
5
  #
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # PKCS#7 message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # PKCS#1 syntax
@@ -5,7 +5,7 @@
5
5
  # Policies Certificate Extension.
6
6
  #
7
7
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
8
- # Copyright (c) 2021-2022, Vigil Security, LLC
8
+ # Copyright (c) 2021-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # X.509 message syntax
@@ -4,7 +4,7 @@
4
4
  # Modified by Russ Housley to import from RFC 5280 and RFC 5652
5
5
  #
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # X.509 certificate Request Message Format (CRMF) syntax
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2021-2022, Vigil Security, LLC
6
+ # Copyright (c) 2021-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Identifiers for the Key Exchange Algorithm (KEA)
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # OCSP request/response syntax
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  #
6
- # Copyright (c) 2019-2022, Vigil Security, LLC
6
+ # Copyright (c) 2019-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Diffie-Hellman Key Agreement
@@ -5,7 +5,7 @@
5
5
  # Modified by Russ Housley to add a map for use with opentypes.
6
6
  # Modified by Russ Housley to include the opentypemap manager.
7
7
  #
8
- # Copyright (c) 2019-2022, Vigil Security, LLC
8
+ # Copyright (c) 2019-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # Enhanced Security Services for S/MIME
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  #
6
- # Copyright (c) 2021-2022, Vigil Security, LLC
6
+ # Copyright (c) 2021-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # GSS-API Tokens
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # KEA and SKIPJACK Algorithms in CMS
@@ -0,0 +1,72 @@
1
+ #
2
+ # This file is part of pyasn1-alt-modules software.
3
+ #
4
+ # Created by Russ Housley.
5
+ #
6
+ # Copyright (c) 2022-2024, Vigil Security, LLC
7
+ # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
+ #
9
+ # PKCS #5: Password-Based Cryptography Specification, Version 2.0
10
+ #
11
+ # ASN.1 source from:
12
+ # https://www.rfc-editor.org/rfc/rfc2898.txt
13
+ # https://www.rfc-editor.org/rfc/rfc8018.txt
14
+ #
15
+
16
+ from pyasn1_alt_modules import rfc8018
17
+
18
+
19
+ # PKCS#5 Version 2.1 is backward compatible with PKCS#5 Version 2.0,
20
+ # so all of the definitions can be imported from the newer document.
21
+
22
+ rsadsi = rfc8018.rsadsi
23
+
24
+ pkcs = rfc8018.pkcs
25
+
26
+ digestAlgorithm = rfc8018.digestAlgorithm
27
+
28
+ encryptionAlgorithm = rfc8018.encryptionAlgorithm
29
+
30
+ pkcs_5 = rfc8018.pkcs_5
31
+
32
+ id_PBKDF2 = rfc8018.id_PBKDF2
33
+
34
+ PBKDF2_params = rfc8018.PBKDF2_params
35
+
36
+ id_hmacWithSHA1 = rfc8018.id_hmacWithSHA1
37
+
38
+ algid_hmacWithSHA1 = rfc8018.algid_hmacWithSHA1
39
+
40
+ pbeWithMD2AndDES_CBC = rfc8018.pbeWithMD2AndDES_CBC
41
+
42
+ pbeWithMD2AndRC2_CBC = rfc8018.pbeWithMD2AndRC2_CBC
43
+
44
+ pbeWithMD5AndDES_CBC = rfc8018.pbeWithMD5AndDES_CBC
45
+
46
+ pbeWithMD5AndRC2_CBC = rfc8018.pbeWithMD5AndRC2_CBC
47
+
48
+ pbeWithSHA1AndDES_CBC = rfc8018.pbeWithSHA1AndDES_CBC
49
+
50
+ pbeWithSHA1AndRC2_CBC = rfc8018.pbeWithSHA1AndRC2_CBC
51
+
52
+ PBEParameter = rfc8018.PBEParameter
53
+
54
+ id_PBES2 = rfc8018.id_PBES2
55
+
56
+ PBES2_params = rfc8018.PBES2_params
57
+
58
+ id_PBMAC1 = rfc8018.id_PBMAC1
59
+
60
+ PBMAC1_params = rfc8018.PBMAC1_params
61
+
62
+ desCBC = rfc8018.desCBC
63
+
64
+ des_EDE3_CBC = rfc8018.des_EDE3_CBC
65
+
66
+ rc2CBC = rfc8018.rc2CBC
67
+
68
+ RC2_CBC_Parameter = rfc8018.RC2_CBC_Parameter
69
+
70
+ rc5_CBC_PAD = rfc8018.rc5_CBC_PAD
71
+
72
+ RC5_CBC_Parameters = rfc8018.RC5_CBC_Parameters
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Updated by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # PKCS#9: Selected Attribute Types (Version 2.0)
@@ -7,7 +7,7 @@
7
7
  # definitions from rfc5280 so that the same maps are used.
8
8
  #
9
9
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
10
- # Copyright (c) 2021-2022, Vigil Security, LLC
10
+ # Copyright (c) 2021-2024, Vigil Security, LLC
11
11
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
12
12
  #
13
13
  # PKCS #10: Certification Request Syntax Specification
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # IDEA Encryption Algorithm in CMS
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # TEST Company Classification Policies
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  #
6
- # Copyright (c) 2019-2022, Vigil Security, LLC
6
+ # Copyright (c) 2019-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Electronic Signature Policies
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  #
6
- # Copyright (c) 2019-2022, Vigil Security, LLC
6
+ # Copyright (c) 2019-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Time-Stamp Protocol (TSP)
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2021-2022, Vigil Security, LLC
6
+ # Copyright (c) 2021-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Triple-DES and RC2 Key Wrapping
@@ -5,7 +5,7 @@
5
5
  # Modified by Russ Housley to add a map for use with opentypes.
6
6
  # Updated by Russ Housley to include the opentypemap manager.
7
7
  #
8
- # Copyright (c) 2019-2022, Vigil Security, LLC
8
+ # Copyright (c) 2019-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # CMS Compressed Data Content Type
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-modules.
3
3
  #
4
4
  # Copyright (c) 2017, Danielle Madeley <danielle@madeley.id.au>
5
- # Copyright (c) 2019-2022, Vigil Security, LLC
5
+ # Copyright (c) 2019-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # Modified by Russ Housley to add maps for use with opentypes.
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Created by Stanisław Pitucha with asn1ate tool.
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Internet X.509 Public Key Infrastructure Certificate and Certificate
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Created by Stanisław Pitucha with asn1ate tool.
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # An Internet Attribute Certificate Profile for Authorization
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Cryptographic Message Syntax (CMS) Algorithms
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv3 message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # SNMPv3 message syntax
@@ -2,7 +2,7 @@
2
2
  # This file is part of pyasn1-alt-modules software.
3
3
  #
4
4
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
5
- # Copyright (c) 2021-2022, Vigil Security, LLC
5
+ # Copyright (c) 2021-2024, Vigil Security, LLC
6
6
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
7
7
  #
8
8
  # PKCS#1 syntax
@@ -5,7 +5,7 @@
5
5
  # Modified by Russ Housley to include the opentypemap manager and
6
6
  # update the S/MIME Capability Map.
7
7
  #
8
- # Copyright (c) 2019-2022, Vigil Security, LLC
8
+ # Copyright (c) 2019-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # Wrapping a Hashed Message Authentication Code (HMAC) key
@@ -0,0 +1,23 @@
1
+ #
2
+ # This file is part of pyasn1-alt-modules software.
3
+ #
4
+ # Created by Russ Housley.
5
+ #
6
+ # Copyright (c) 2023-2024, Vigil Security, LLC
7
+ # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
+ #
9
+ # PkiPath as used in TLS Extensions
10
+ #
11
+ # ASN.1 source from:
12
+ # https://www.rfc-editor.org/rfc/rfc3546.txt
13
+ #
14
+
15
+ from pyasn1.type import univ
16
+
17
+ from pyasn1_alt_modules import rfc5280
18
+
19
+
20
+ # PkiPath ::= SEQUENCE OF Certificate
21
+
22
+ class PkiPath(univ.SequenceOf):
23
+ componentType = rfc5280.Certificate()
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2019-2022, Vigil Security, LLC
6
+ # Copyright (c) 2019-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # RSAES-OAEP Key Transport Algorithm in CMS
@@ -4,7 +4,7 @@
4
4
  # Modified by Russ Housley to add maps for use with opentypes.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Use of the Advanced Encryption Standard (AES) Encryption
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Camellia Algorithm in CMS
@@ -7,7 +7,7 @@
7
7
  # Modified by Russ Housley to add WITH COMPONENTS constraints for
8
8
  # requirements from the text, but stated in the ASN.1 module.
9
9
  #
10
- # Copyright (c) 2019-2022, Vigil Security, LLC
10
+ # Copyright (c) 2019-2024, Vigil Security, LLC
11
11
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
12
12
  #
13
13
  # Logotypes in X.509 Certificates
@@ -5,14 +5,17 @@
5
5
  # Modified by Russ Housley to add WithComponentsConstraints to
6
6
  # enforce the requirements that are indicated in comments.
7
7
  # Modified by Russ Housley to include the opentypemap manager.
8
+ # Modified by CBonnell to align the SemanticsInformation
9
+ # definition with https://www.rfc-editor.org/errata/eid7802.
8
10
  #
9
- # Copyright (c) 2019-2022, Vigil Security, LLC
11
+ # Copyright (c) 2019-2024, Vigil Security, LLC
10
12
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
11
13
  #
12
14
  # Qualified Certificates
13
15
  #
14
16
  # ASN.1 source from:
15
17
  # https://www.rfc-editor.org/rfc/rfc3739.txt
18
+ # https://www.rfc-editor.org/errata/eid7802
16
19
  #
17
20
 
18
21
  from pyasn1.type import char
@@ -158,14 +161,14 @@ class QCStatements(univ.SequenceOf):
158
161
 
159
162
  class SemanticsInformation(univ.Sequence):
160
163
  componentType = namedtype.NamedTypes(
161
- namedtype.OptionalNamedType('semanticsIndentifier',
164
+ namedtype.OptionalNamedType('semanticsIdentifier',
162
165
  univ.ObjectIdentifier()),
163
166
  namedtype.OptionalNamedType('nameRegistrationAuthorities',
164
167
  NameRegistrationAuthorities())
165
168
  )
166
169
  subtypeSpec = constraint.ConstraintsUnion(
167
170
  constraint.WithComponentsConstraint(
168
- ('semanticsIndentifier', constraint.ComponentPresentConstraint())),
171
+ ('semanticsIdentifier', constraint.ComponentPresentConstraint())),
169
172
  constraint.WithComponentsConstraint(
170
173
  ('nameRegistrationAuthorities', constraint.ComponentPresentConstraint()))
171
174
  )
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Certificate Extensions and Attributes Supporting Authentication
@@ -5,7 +5,7 @@
5
5
  # Modified by Russ Housley to add maps for use with opentypes.
6
6
  # Modified by Russ Housley to include the opentypemap manager.
7
7
  #
8
- # Copyright (c) 2019-2022, Vigil Security, LLC
8
+ # Copyright (c) 2019-2024, Vigil Security, LLC
9
9
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
10
10
  #
11
11
  # X.509 Extensions for IP Addresses and AS Identifiers
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Diffie-Hellman Key Agreement
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Created by Stanisław Pitucha with asn1ate tool.
6
6
  # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Cryptographic Message Syntax (CMS)
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2021-2022, Vigil Security, LLC
6
+ # Copyright (c) 2021-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # Identifiers for SHA-224
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2019-2022, Vigil Security, LLC
6
+ # Copyright (c) 2019-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # SEED Encryption Algorithm in CMS
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2019-2022, Vigil Security, LLC
7
+ # Copyright (c) 2019-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Internet X.509 Public Key Infrastructure Permanent Identifier
@@ -8,7 +8,7 @@
8
8
  # are not in the ASN.1 module, but they are discussed in RFC 4055.
9
9
  # Modified by Russ Housley to include the opentypemap manager.
10
10
  #
11
- # Copyright (c) 2019-2022, Vigil Security, LLC
11
+ # Copyright (c) 2019-2024, Vigil Security, LLC
12
12
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
13
13
  #
14
14
  # Additional Algorithms and Identifiers for RSA Cryptography
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Created by Russ Housley.
5
5
  #
6
- # Copyright (c) 2021-2022, Vigil Security, LLC
6
+ # Copyright (c) 2021-2024, Vigil Security, LLC
7
7
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
8
8
  #
9
9
  # RSASSA-PSS Signature Algorithm in CMS
@@ -4,7 +4,7 @@
4
4
  # Created by Russ Housley with assistance from asn1ate v.0.6.0.
5
5
  # Modified by Russ Housley to include the opentypemap manager.
6
6
  #
7
- # Copyright (c) 2021-2022, Vigil Security, LLC
7
+ # Copyright (c) 2021-2024, Vigil Security, LLC
8
8
  # License: http://vigilsec.com/pyasn1-alt-modules-license.txt
9
9
  #
10
10
  # Warranty Certificate Extension