com.croftsoft.core.util.cache.secure
Class SecureId
java.lang.Object
com.croftsoft.core.util.cache.secure.SecureId
- All Implemented Interfaces:
- Id, Serializable, Cloneable
public final class SecureId
- extends Object
- implements Id
A concrete Id implementation that uses a secure digest to verify
identity.
- Version:
- 2000-08-19
- See Also:
j1d1.util.id.Id;
,
MessageDigest
,
Serialized Form- Author:
- David Wallace Croft
SecureId
public SecureId(String algorithm,
byte[] digest)
getAlgorithm
public String getAlgorithm()
getDigest
public byte[] getDigest()
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Id
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Id
- Overrides:
hashCode
in class Object
clone
public Object clone()
- Specified by:
clone
in interface Id
- Overrides:
clone
in class Object
CroftSoft Core Javadoc (2008-09-28 20:58:02)