22 XML::Enc - XML::Enc Encryption Support
33
44VERSION
5- version 0.01
5+ version 0.02
66
77SYNOPSIS
88 my $decrypter = XML::Enc->new(
@@ -50,20 +50,21 @@ METHODS
5050
5151 Used in encryption. Optional. Default method: aes256-cbc
5252
53- force_element_to_content
54- Used for decryption to treat an Element EncryptedData type as
55- Content if the decrypted data is not XML. xmlsec appears to have a
56- bug where it uses the Element EncryptedData type in order to encrypt
57- what is actually Content. Strangely it appears to have no issue
58- decrypting the data if the Type is changed to Content
59-
6053 * tripledes-cbc
54+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
55+ ml#tripledes-cbc>
6156
6257 * aes128-cbc
58+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
59+ ml#aes128-cbc>
6360
6461 * aes196-cbc
62+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
63+ ml#aes192-cbc>
6564
6665 * aes256-cbc
66+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
67+ ml#aes256-cbc>
6768
6869 key_transport
6970 Specify the encryption method to be used for key transport.
@@ -72,8 +73,19 @@ METHODS
7273 Used in encryption. Optional. Default method: rsa-1_5
7374
7475 * rsa-1_5
76+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
77+ ml#rsa-1_5>
7578
7679 * rsa-oaep-mgf1p
80+ <https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.ht
81+ ml#rsa-oaep-mgf1p>
82+
83+ force_element_to_content
84+ Used for decryption to treat an Element EncryptedData type as
85+ Content if the decrypted data is not XML. xmlsec appears to have a
86+ bug where it uses the Element EncryptedData type in order to encrypt
87+ what is actually Content. Strangely it appears to have no issue
88+ decrypting the data if the Type is changed to Content
7789
7890 decrypt( ... )
7991 Main decryption function.
0 commit comments