File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -543,6 +543,12 @@ int PyXmlSec_ConstantsModule_Init(PyObject* package) {
543543 PYXMLSEC_ADD_TRANSFORM_CONSTANT (TransformSha384 , "SHA384" );
544544 PYXMLSEC_ADD_TRANSFORM_CONSTANT (TransformSha512 , "SHA512" );
545545
546+ #if XMLSEC_VERSION_HEX > 315
547+ PYXMLSEC_ADD_TRANSFORM_CONSTANT (TransformAes128Gcm , "AES128_GCM" );
548+ PYXMLSEC_ADD_TRANSFORM_CONSTANT (TransformAes192Gcm , "AES192_GCM" );
549+ PYXMLSEC_ADD_TRANSFORM_CONSTANT (TransformAes256Gcm , "AES256_GCM" );
550+ #endif
551+
546552 PYXMLSEC_CLOSE_NAMESPACE (transformCls );
547553
548554#undef PYXMLSEC_ADD_TRANSFORM_CONSTANT
Original file line number Diff line number Diff line change @@ -79,8 +79,11 @@ NsExcC14NWithComments: Final = 'http://www.w3.org/2001/10/xml-exc-c14n#WithComme
7979Soap11Ns : Final = 'http://schemas.xmlsoap.org/soap/envelope/'
8080Soap12Ns : Final = 'http://www.w3.org/2002/06/soap-envelope'
8181TransformAes128Cbc : Final = __Transform ('aes128-cbc' , 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' , 16 )
82+ TransformAes128Gcm : Final = __Transform ('aes128-gcm' , 'http://www.w3.org/2009/xmlenc11#aes128-gcm' , 16 )
8283TransformAes192Cbc : Final = __Transform ('aes192-cbc' , 'http://www.w3.org/2001/04/xmlenc#aes192-cbc' , 16 )
84+ TransformAes192Gcm : Final = __Transform ('aes192-gcm' , 'http://www.w3.org/2009/xmlenc11#aes192-gcm' , 16 )
8385TransformAes256Cbc : Final = __Transform ('aes256-cbc' , 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' , 16 )
86+ TransformAes256Gcm : Final = __Transform ('aes256-gcm' , 'http://www.w3.org/2009/xmlenc11#aes256-gcm' , 16 )
8487TransformDes3Cbc : Final = __Transform ('tripledes-cbc' , 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' , 16 )
8588TransformDsaSha1 : Final = __Transform ('dsa-sha1' , 'http://www.w3.org/2000/09/xmldsig#dsa-sha1' , 8 )
8689TransformEcdsaSha1 : Final = __Transform ('ecdsa-sha1' , 'http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1' , 8 )
You can’t perform that action at this time.
0 commit comments