public class PasswordHistory extends Object implements Comparable<PasswordHistory>
Constructor and Description |
---|
PasswordHistory(String pwdHistoryVal)
Create a new instance of PasswordHistory
|
PasswordHistory(String time,
byte[] password)
Create a new instance of PasswordHistory
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PasswordHistory o) |
boolean |
equals(Object o) |
byte[] |
getHistoryValue() |
int |
getLength() |
byte[] |
getPassword() |
String |
getSyntaxOID() |
String |
getTime() |
int |
hashCode() |
String |
toString() |
public PasswordHistory(String pwdHistoryVal)
pwdHistoryVal
- The history datepublic PasswordHistory(String time, byte[] password)
time
- The time we changed the passwordpassword
- The password to storepublic byte[] getHistoryValue()
public String getSyntaxOID()
public int getLength()
public byte[] getPassword()
public int compareTo(PasswordHistory o)
compareTo
in interface Comparable<PasswordHistory>
public boolean equals(Object o)
equals
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.