XML::Enc(3)

πŸ“¦ version 0.16, in alpine 3.24

πŸ’– NAME πŸ’–

okay so welcome to XML::Enc(3) from the User Contributed Perl Documentation besties πŸ’… β€” this page is XML::Enc - XML::Enc Encryption Support, which is literally the XML encryption support module and we’re gonna get into it together.

🌸 VERSION 🌸

version 0.16 β€” iconic, no notes ✨.

✨ SYNOPSIS ✨

my $decrypter = XML::Enc->new(
    {
        key                => 't/sign-private.pem',
        no_xml_declaration => 1,
    },
);
$decrypted = $enc->decrypt($xml);

my $encrypter = XML::Enc->new(
    {
        cert               => 't/sign-certonly.pem',
        no_xml_declaration => 1,
        data_enc_method    => 'aes256-cbc',
        key_transport      => 'rsa-1_5',

    },
);
$encrypted = $enc->encrypt($xml);

πŸ¦‹ NAME (again, bestie) πŸ¦‹

XML::Enc - XML Encryption

🌈 METHODS 🌈

πŸ› οΈ new( ... )

Constructor bestie: it creates an instance of the XML::Enc object.

Arguments:

πŸ”“ decrypt( ... )

Main decryption function.

Arguments:

  • xml β€” XML containing the encrypted data.

πŸ”’ encrypt( ... )

Main encryption function.

Arguments:

  • xml β€” XML containing the plaintext data.

πŸ‘‘ AUTHOR πŸ‘‘

Timothy Legge β€” <timlegge@gmail.com>

This software is copyright (c) 2026 by TImothy Legge.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


bestie, that’s the whole XML::Enc(3) page πŸ’–. built for perl v5.42.2, dated 2026-04-21 β€” slay and bye! πŸŽ€

πŸ“¦ where this page comes from