org.apache.directory.server.kerberos.shared.crypto.checksum
Class Sha1Checksum
java.lang.Object
org.apache.directory.server.kerberos.shared.crypto.checksum.ChecksumEngine
org.apache.directory.server.kerberos.shared.crypto.checksum.Sha1Checksum
public class Sha1Checksum
- extends ChecksumEngine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sha1Checksum
public Sha1Checksum()
getDigest
public Digest getDigest()
- Specified by:
getDigest
in class ChecksumEngine
checksumType
public ChecksumType checksumType()
- Specified by:
checksumType
in class ChecksumEngine
keyType
public CipherType keyType()
- Specified by:
keyType
in class ChecksumEngine
checksumSize
public int checksumSize()
- Specified by:
checksumSize
in class ChecksumEngine
keySize
public int keySize()
- Specified by:
keySize
in class ChecksumEngine
confounderSize
public int confounderSize()
- Specified by:
confounderSize
in class ChecksumEngine
isSafe
public boolean isSafe()
- Specified by:
isSafe
in class ChecksumEngine
calculateKeyedChecksum
public byte[] calculateKeyedChecksum(byte[] data,
byte[] key)
- Specified by:
calculateKeyedChecksum
in class ChecksumEngine
verifyKeyedChecksum
public boolean verifyKeyedChecksum(byte[] data,
byte[] key,
byte[] checksum)
- Specified by:
verifyKeyedChecksum
in class ChecksumEngine