public abstract static class PasswordData.AbstractReference extends Object implements PasswordData.Reference
Constructor and Description |
---|
AbstractReference(String lbl,
String pass)
Creates a new abstract reference.
|
AbstractReference(String lbl,
String pass,
PasswordData.Salt slt)
Creates a new abstract reference.
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label.
|
String |
getPassword()
Returns the password associated with this reference.
|
PasswordData.Salt |
getSalt()
Returns the salt that was applied to the reference password before digesting it.
|
String |
toString() |
public AbstractReference(String lbl, String pass, PasswordData.Salt slt)
lbl
- label for this passwordpass
- password stringslt
- salt that was applied to passwordpublic String getLabel()
public String getPassword()
PasswordData.Reference
getPassword
in interface PasswordData.Reference
public PasswordData.Salt getSalt()
PasswordData.Reference
getSalt
in interface PasswordData.Reference
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.