org.apache.directory.server.kerberos.shared.crypto.checksum
Class RsaMd5Checksum
java.lang.Object
org.apache.directory.server.kerberos.shared.crypto.checksum.ChecksumEngine
org.apache.directory.server.kerberos.shared.crypto.checksum.RsaMd5Checksum
public class RsaMd5Checksum
- extends ChecksumEngine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RsaMd5Checksum
public RsaMd5Checksum()
getDigest
public java.security.MessageDigest getDigest()
throws java.security.NoSuchAlgorithmException
- Specified by:
getDigest
in class ChecksumEngine
- Throws:
java.security.NoSuchAlgorithmException
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
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.