C# Class KeePass.Util.PwGeneratorUtil

Exibir arquivo Open project: cappert/keepass2 Class Usage Examples

Private Properties

Property Type Description
AddStdPattern void
AllocStandardProfiles void
GenerateAcceptable ProtectedString
GenerateAcceptable ProtectedString

Public Methods

Method Description
CompareProfilesByName ( KeePassLib.Cryptography.PasswordGenerator.PwProfile a, KeePassLib.Cryptography.PasswordGenerator.PwProfile b ) : int
GetAllProfiles ( bool bSort ) : List

Get a list of all password generator profiles (built-in and user-defined ones).

IsBuiltInProfile ( string strName ) : bool

Private Methods

Method Description
AddStdPattern ( string strName, string strPattern ) : void
AllocStandardProfiles ( ) : void
GenerateAcceptable ( KeePassLib.Cryptography.PasswordGenerator.PwProfile prf, byte pbUserEntropy, PwEntry peOptCtx, PwDatabase pdOptCtx ) : ProtectedString
GenerateAcceptable ( KeePassLib.Cryptography.PasswordGenerator.PwProfile prf, byte pbUserEntropy, PwEntry peOptCtx, PwDatabase pdOptCtx, bool &bAcceptAlways ) : ProtectedString

Method Details

CompareProfilesByName() public static method

public static CompareProfilesByName ( KeePassLib.Cryptography.PasswordGenerator.PwProfile a, KeePassLib.Cryptography.PasswordGenerator.PwProfile b ) : int
a KeePassLib.Cryptography.PasswordGenerator.PwProfile
b KeePassLib.Cryptography.PasswordGenerator.PwProfile
return int

GetAllProfiles() public static method

Get a list of all password generator profiles (built-in and user-defined ones).
public static GetAllProfiles ( bool bSort ) : List
bSort bool
return List

IsBuiltInProfile() public static method

public static IsBuiltInProfile ( string strName ) : bool
strName string
return bool