org.apache.directory.server.kerberos.shared.crypto.checksum
Interface ChecksumEngine
- All Known Implementing Classes:
- Aes128CtsSha1Encryption, Aes256CtsSha1Encryption, Des3CbcSha1KdEncryption
public interface ChecksumEngine
- Version:
- $Rev: 541572 $, $Date: 2007-05-25 09:16:04 +0200 (Fri, 25 May 2007) $
- Author:
- Apache Directory Project
checksumType
ChecksumType checksumType()
- Returns the checksum type of this checksum engine.
- Returns:
- The checksum type.
calculateChecksum
byte[] calculateChecksum(byte[] data,
byte[] key,
KeyUsage usage)
- Calculate a checksum given raw bytes and an (optional) key.
- Parameters:
data
- key
- usage
-
- Returns:
- The checksum value.
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.