public abstract class AbstractCheckSumTypeHandler extends AbstractCryptoTypeHandler implements CheckSumTypeHandler
| Constructor and Description |
|---|
AbstractCheckSumTypeHandler(EncryptProvider encProvider,
HashProvider hashProvider,
int computeSize,
int outputSize) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
checksum(byte[] data) |
byte[] |
checksum(byte[] data,
int start,
int size) |
byte[] |
checksumWithKey(byte[] data,
byte[] key,
int usage) |
byte[] |
checksumWithKey(byte[] data,
int start,
int size,
byte[] key,
int usage) |
int |
cksumSize() |
int |
computeSize() |
int |
confounderSize() |
String |
displayName() |
boolean |
isSafe() |
int |
keySize() |
String |
name() |
int |
outputSize() |
boolean |
verify(byte[] data,
byte[] checksum) |
boolean |
verify(byte[] data,
int start,
int size,
byte[] checksum) |
boolean |
verifyWithKey(byte[] data,
byte[] key,
int usage,
byte[] checksum) |
checksumEqual, checksumEqual, encProvider, hashProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcksumTypeencProvider, hashProviderpublic AbstractCheckSumTypeHandler(EncryptProvider encProvider, HashProvider hashProvider, int computeSize, int outputSize)
public String name()
name in interface CryptoTypeHandlerpublic String displayName()
displayName in interface CryptoTypeHandlerpublic int computeSize()
computeSize in interface CheckSumTypeHandlerpublic int outputSize()
outputSize in interface CheckSumTypeHandlerpublic boolean isSafe()
isSafe in interface CheckSumTypeHandlerpublic int cksumSize()
cksumSize in interface CheckSumTypeHandlerpublic int keySize()
keySize in interface CheckSumTypeHandlerpublic int confounderSize()
confounderSize in interface CheckSumTypeHandlerpublic byte[] checksum(byte[] data)
throws KrbException
checksum in interface CheckSumTypeHandlerKrbExceptionpublic byte[] checksum(byte[] data,
int start,
int size)
throws KrbException
checksum in interface CheckSumTypeHandlerKrbExceptionpublic boolean verify(byte[] data,
byte[] checksum)
throws KrbException
verify in interface CheckSumTypeHandlerKrbExceptionpublic boolean verify(byte[] data,
int start,
int size,
byte[] checksum)
throws KrbException
verify in interface CheckSumTypeHandlerKrbExceptionpublic byte[] checksumWithKey(byte[] data,
byte[] key,
int usage)
throws KrbException
checksumWithKey in interface CheckSumTypeHandlerKrbExceptionpublic byte[] checksumWithKey(byte[] data,
int start,
int size,
byte[] key,
int usage)
throws KrbException
checksumWithKey in interface CheckSumTypeHandlerKrbExceptionpublic boolean verifyWithKey(byte[] data,
byte[] key,
int usage,
byte[] checksum)
throws KrbException
verifyWithKey in interface CheckSumTypeHandlerKrbExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.