public abstract class AbstractKeyedCheckSumTypeHandler extends AbstractCheckSumTypeHandler
| Constructor and Description |
|---|
AbstractKeyedCheckSumTypeHandler(EncryptProvider encProvider,
HashProvider hashProvider,
int computeSize,
int outputSize) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
checksumWithKey(byte[] data,
byte[] key,
int usage) |
byte[] |
checksumWithKey(byte[] data,
int start,
int len,
byte[] key,
int usage) |
protected byte[] |
doChecksumWithKey(byte[] data,
int start,
int len,
byte[] key,
int usage) |
protected KeyMaker |
keyMaker() |
protected void |
keyMaker(KeyMaker keyMaker) |
boolean |
verifyWithKey(byte[] data,
byte[] key,
int usage,
byte[] checksum) |
checksum, checksum, cksumSize, computeSize, confounderSize, displayName, isSafe, keySize, name, outputSize, verify, verifychecksumEqual, checksumEqual, encProvider, hashProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcksumTypeencProvider, hashProviderpublic AbstractKeyedCheckSumTypeHandler(EncryptProvider encProvider, HashProvider hashProvider, int computeSize, int outputSize)
protected void keyMaker(KeyMaker keyMaker)
protected KeyMaker keyMaker()
public byte[] checksumWithKey(byte[] data,
byte[] key,
int usage)
throws KrbException
checksumWithKey in interface CheckSumTypeHandlerchecksumWithKey in class AbstractCheckSumTypeHandlerKrbExceptionpublic byte[] checksumWithKey(byte[] data,
int start,
int len,
byte[] key,
int usage)
throws KrbException
checksumWithKey in interface CheckSumTypeHandlerchecksumWithKey in class AbstractCheckSumTypeHandlerKrbExceptionprotected byte[] doChecksumWithKey(byte[] data,
int start,
int len,
byte[] key,
int usage)
throws KrbException
KrbExceptionpublic boolean verifyWithKey(byte[] data,
byte[] key,
int usage,
byte[] checksum)
throws KrbException
verifyWithKey in interface CheckSumTypeHandlerverifyWithKey in class AbstractCheckSumTypeHandlerKrbExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.