.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "File::KDBX::Dumper::XML 3pm" .TH File::KDBX::Dumper::XML 3pm "2022-11-20" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" File::KDBX::Dumper::XML \- Dump unencrypted XML KeePass files .SH "VERSION" .IX Header "VERSION" version 0.906 .SH "ATTRIBUTES" .IX Header "ATTRIBUTES" .SS "allow_protection" .IX Subsection "allow_protection" .Vb 1 \& $bool = $dumper\->allow_protection; .Ve .PP Get whether or not protected strings and binaries should be written in an encrypted stream. Default: \f(CW\*(C`TRUE\*(C'\fR .SS "binaries" .IX Subsection "binaries" .Vb 1 \& $bool = $dumper\->binaries; .Ve .PP Get whether or not binaries within the database should be written. Default: \f(CW\*(C`TRUE\*(C'\fR .SS "compress_binaries" .IX Subsection "compress_binaries" .Vb 1 \& $tristate = $dumper\->compress_binaries; .Ve .PP Get whether or not to compress binaries. Possible values: .IP "\(bu" 4 \&\f(CW\*(C`TRUE\*(C'\fR \- Always compress binaries .IP "\(bu" 4 \&\f(CW\*(C`FALSE\*(C'\fR \- Never compress binaries .IP "\(bu" 4 \&\f(CW\*(C`undef\*(C'\fR \- Compress binaries if it results in smaller database sizes (default) .SS "compress_datetimes" .IX Subsection "compress_datetimes" .Vb 1 \& $bool = $dumper\->compress_datetimes; .Ve .PP Get whether or not to write compressed datetimes. Datetimes are traditionally written in the human-readable string format of \f(CW\*(C`1970\-01\-01T00:00:00Z\*(C'\fR, but they can also be written in a compressed form to save some bytes. The default is to write compressed datetimes if the \s-1KDBX\s0 file version is 4+, otherwise use the human-readable format. .SS "header_hash" .IX Subsection "header_hash" .Vb 1 \& $octets = $dumper\->header_hash; .Ve .PP Get the value to be written as the \fBHeaderHash\fR in the \fBMeta\fR section. This is the way \s-1KDBX3\s0 files validate the authenticity of header data. This is unnecessary and should not be used with \s-1KDBX4\s0 files because that format uses \s-1HMAC\-SHA256\s0 to detect tampering. .PP File::KDBX::Dumper::V3 automatically calculates the header hash an provides it to this module, and plain \&\s-1XML\s0 files which don't have a \s-1KDBX\s0 wrapper don't have headers and so should not have a header hash. Therefore there is probably never any reason to set this manually. .SH "BUGS" .IX Header "BUGS" Please report any bugs or feature requests on the bugtracker website .PP When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. .SH "AUTHOR" .IX Header "AUTHOR" Charles McGarvey .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2022 by Charles McGarvey. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.