Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::PWSafe3::PasswoUserlContributed Perl DCrypt::PWSafe3::PasswordPolicy(3)

NAME
       Crypt::PWSafe3::PasswordPolicy -	represent a passwordsafe v3 passwprd
       policy entry of a record.

SYNOPSIS
	use Data::Dumper;
	use Crypt::PWSafe3;
	use Crypt::PWSafe3::PasswordPolicy;
	my $record = $vault->getrecord($uuid);
	my $policy = $record->policy;

	# print	current	values
	print Dumper($policy);

	# print	some values
	print $policy->UseEasyVision;

	# change some of them
	$policy->MaxLength(8);
	$policy->MinSymbols(2);

	# put back into	record
	$record->policy($policy);

DESCRIPTION
       The following flags can be set (1 = TRUE, 0 = FALSE):

	- UseLowercase
	- UseUppercase
	- UseDigits
	- UseSymbols
	- UseHexDigits
	- UseEasyVision
	- MakePronounceable

       The following numerical settings	can be tuned:

	- MaxLength
	- MinLowercase
	- MinUppercase
	- MinDigits
	- MinSymbols

       All of them can be called as functions, see SYNOPSIS for	examples. If
       called with an argument,	the value will be changed, otherwise it	will
       just returned.

       The raw database	value can be assigned by using the raw parameter.

SEE ALSO
       Crypt::PWSafe3::Record

AUTHOR
       T.v.Dein	<tlinden@cpan.org>

COPYRIGHT
       Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>.	All rights
       reserved.

LICENSE
       This program is free software; you can redistribute it and/or modify it
       under the same terms of the Artistic License 2.0, see:
       <http://www.perlfoundation.org/artistic_license_2_0>

perl v5.32.1			  2015-02-12 Crypt::PWSafe3::PasswordPolicy(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::PWSafe3::PasswordPolicy&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help