public abstract class KeKiEnc extends AbstractEncTypeHandler
| Constructor and Description |
|---|
KeKiEnc(EncryptProvider encProvider,
HashProvider hashProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
decryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage,
boolean raw) |
protected void |
encryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage,
boolean raw) |
protected abstract byte[] |
makeChecksum(byte[] key,
byte[] data,
int hashSize) |
protected int |
paddingLength(int inputLen) |
int |
paddingSize() |
checksumSize, confounderSize, decrypt, decrypt, decryptRaw, decryptRaw, displayName, encrypt, encrypt, encryptRaw, encryptRaw, keyInputSize, keyMaker, keyMaker, keySize, name, prfSize, random2Key, str2keychecksumEqual, checksumEqual, encProvider, hashProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchecksumType, eType, prfencProvider, hashProviderpublic KeKiEnc(EncryptProvider encProvider, HashProvider hashProvider)
public int paddingSize()
paddingSize in interface EncTypeHandlerpaddingSize in class AbstractEncTypeHandlerprotected int paddingLength(int inputLen)
paddingLength in class AbstractEncTypeHandlerprotected void encryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage,
boolean raw)
throws KrbException
encryptWith in class AbstractEncTypeHandlerKrbExceptionprotected byte[] decryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage,
boolean raw)
throws KrbException
decryptWith in class AbstractEncTypeHandlerKrbExceptionprotected abstract byte[] makeChecksum(byte[] key,
byte[] data,
int hashSize)
throws KrbException
KrbExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.