1Crypt::PWSafe3::PassworUdsPeorliCcoyn(t3r)ibuted Perl DoCcruympetn:t:aPtWiSoanfe3::PasswordPolicy(3)
2
3
4

NAME

6       Crypt::PWSafe3::PasswordPolicy - represent a passwordsafe v3 passwprd
7       policy entry of a record.
8

SYNOPSIS

10        use Data::Dumper;
11        use Crypt::PWSafe3;
12        use Crypt::PWSafe3::PasswordPolicy;
13        my $record = $vault->getrecord($uuid);
14        my $policy = $record->policy;
15
16        # print current values
17        print Dumper($policy);
18
19        # print some values
20        print $policy->UseEasyVision;
21
22        # change some of them
23        $policy->MaxLength(8);
24        $policy->MinSymbols(2);
25
26        # put back into record
27        $record->policy($policy);
28

DESCRIPTION

30       The following flags can be set (1 = TRUE, 0 = FALSE):
31
32        - UseLowercase
33        - UseUppercase
34        - UseDigits
35        - UseSymbols
36        - UseHexDigits
37        - UseEasyVision
38        - MakePronounceable
39
40       The following numerical settings can be tuned:
41
42        - MaxLength
43        - MinLowercase
44        - MinUppercase
45        - MinDigits
46        - MinSymbols
47
48       All of them can be called as functions, see SYNOPSIS for examples. If
49       called with an argument, the value will be changed, otherwise it will
50       just returned.
51
52       The raw database value can be assigned by using the raw parameter.
53

SEE ALSO

55       Crypt::PWSafe3::Record
56

AUTHOR

58       T.v.Dein <tlinden@cpan.org>
59
61       Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.  All rights
62       reserved.
63

LICENSE

65       This program is free software; you can redistribute it and/or modify it
66       under the same terms of the Artistic License 2.0, see:
67       <http://www.perlfoundation.org/artistic_license_2_0>
68
69
70
71perl v5.32.1                      2021-01-27 Crypt::PWSafe3::PasswordPolicy(3)
Impressum