File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11import sys
2- from typing import NamedTuple
2+ from typing import NamedTuple , Optional
33
44if sys .version_info >= (3 , 8 ):
55 from typing import Final
66else :
77 from typing_extensions import Final
88
99class __KeyData (NamedTuple ): # __KeyData type
10- href : str
1110 name : str
11+ href : Optional [str ]
1212
1313class __Transform (NamedTuple ): # __Transform type
14- href : str
1514 name : str
15+ href : Optional [str ]
1616 usage : int
1717
1818DSigNs : Final = 'http://www.w3.org/2000/09/xmldsig#'
@@ -109,7 +109,9 @@ TransformInclC14N11WithComments: Final = __Transform(
109109 'c14n11-with-comments' , 'http://www.w3.org/2006/12/xml-c14n11#WithComments' , 3
110110)
111111TransformInclC14NWithComments : Final = __Transform (
112- 'c14n-with-comments' , 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments' , 3
112+ 'c14n-with-comments' ,
113+ 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments' ,
114+ 3 ,
113115)
114116TransformKWAes128 : Final = __Transform ('kw-aes128' , 'http://www.w3.org/2001/04/xmlenc#kw-aes128' , 16 )
115117TransformKWAes192 : Final = __Transform ('kw-aes192' , 'http://www.w3.org/2001/04/xmlenc#kw-aes192' , 16 )
You can’t perform that action at this time.
0 commit comments