1Crypt::PWSafe3::HeaderFUiseelrd(C3o)ntributed Perl DocumCernytpatt:i:oPnWSafe3::HeaderField(3)
2
3
4

NAME

6       Crypt::PWSafe3::HeaderField - represent a passwordsafe v3 header field.
7

SYNOPSIS

9        use Crypt::PWSafe3;
10        my $who = $vault->getheader('wholastsaved');
11        print $who->value;
12
13        my $h = Crypt::PWSafe3::HeaderField->new(name => 'savedonhost',
14                                                value => 'localhost');
15        $vault->addheader($h);
16

DESCRIPTION

18       Crypt::PWSafe3::HeaderField represents a header field. This is the raw
19       implementation and you normally don't have to cope with it.
20
21       However, if you ever do, you can add/replace any field type this way:
22
23        my $field = Crypt::PWSafe3::HeaderField->new(
24                                               value => 'localhost',
25                                               name  => 'savedonhost'
26                                             );
27        $record->addheader($field);
28
29       This is the preferred way to do it, Crypt::PWSafe3 does it internaly
30       exactly like this.
31
32       If there already exists a field of this type, it will be overwritten.
33

HEADER FIELDS

35       A password safe v3 database supports the following header fields:
36
37       version
38
39       uuid
40
41       preferences
42
43       treedisplaystatus
44
45       lastsavetime
46
47       wholastsaved
48
49       whatlastsaved
50
51       savedbyuser
52
53       savedonhost
54
55       databasename
56
57       databasedescr
58
59       databasefilters
60
61       eof
62
63       Refer to  Crypt::PWSafe3::Databaseformat for details on those header
64       fields.
65

SEE ALSO

67       Crypt::PWSafe3
68

AUTHOR

70       T.v.Dein <tlinden@cpan.org>
71
73       Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.  All rights
74       reserved.
75

LICENSE

77       This program is free software; you can redistribute it and/or modify it
78       under the same terms of the Artistic License 2.0, see:
79       <http://www.perlfoundation.org/artistic_license_2_0>
80
81
82
83perl v5.32.0                      2020-07-28    Crypt::PWSafe3::HeaderField(3)
Impressum