public class CheckSumHandler extends Object
| Constructor and Description |
|---|
CheckSumHandler() |
| Modifier and Type | Method and Description |
|---|---|
static CheckSum |
checksum(CheckSumType checkSumType,
byte[] bytes) |
static CheckSum |
checksumWithKey(CheckSumType checkSumType,
byte[] bytes,
byte[] key,
KeyUsage usage) |
static CheckSumTypeHandler |
getCheckSumHandler(CheckSumType cksumType) |
static CheckSumTypeHandler |
getCheckSumHandler(int cksumType) |
static CheckSumTypeHandler |
getCheckSumHandler(String cksumType) |
static boolean |
isImplemented(CheckSumType cksumType) |
static boolean |
verify(CheckSum checkSum,
byte[] bytes) |
static boolean |
verifyWithKey(CheckSum checkSum,
byte[] bytes,
byte[] key,
KeyUsage usage) |
public static CheckSumTypeHandler getCheckSumHandler(String cksumType) throws KrbException
KrbExceptionpublic static CheckSumTypeHandler getCheckSumHandler(int cksumType) throws KrbException
KrbExceptionpublic static boolean isImplemented(CheckSumType cksumType) throws KrbException
KrbExceptionpublic static CheckSumTypeHandler getCheckSumHandler(CheckSumType cksumType) throws KrbException
KrbExceptionpublic static CheckSum checksum(CheckSumType checkSumType, byte[] bytes) throws KrbException
KrbExceptionpublic static boolean verify(CheckSum checkSum, byte[] bytes) throws KrbException
KrbExceptionpublic static CheckSum checksumWithKey(CheckSumType checkSumType, byte[] bytes, byte[] key, KeyUsage usage) throws KrbException
KrbExceptionpublic static boolean verifyWithKey(CheckSum checkSum, byte[] bytes, byte[] key, KeyUsage usage) throws KrbException
KrbExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.