public class Rc4HmacEnc extends AbstractEncTypeHandler
| Constructor and Description |
|---|
Rc4HmacEnc() |
Rc4HmacEnc(boolean exportable) |
| Modifier and Type | Method and Description |
|---|---|
CheckSumType |
checksumType() |
int |
confounderSize() |
protected byte[] |
decryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage) |
protected void |
encryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage) |
EncryptionType |
eType() |
protected byte[] |
makeEncKey(byte[] usageKey,
byte[] checksum) |
protected byte[] |
makeUsageKey(byte[] key,
int usage) |
protected int |
paddingLength(int inputLen) |
int |
paddingSize() |
byte[] |
prf(byte[] key,
byte[] seed) |
checksumSize, decrypt, decrypt, displayName, encrypt, encrypt, keyInputSize, keyMaker, keyMaker, keySize, name, prfSize, random2Key, str2keychecksumEqual, checksumEqual, encProvider, hashProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencProvider, hashProviderpublic EncryptionType eType()
public byte[] prf(byte[] key,
byte[] seed)
throws KrbException
KrbExceptionprotected int paddingLength(int inputLen)
paddingLength in class AbstractEncTypeHandlerpublic int confounderSize()
confounderSize in interface EncTypeHandlerconfounderSize in class AbstractEncTypeHandlerpublic int paddingSize()
paddingSize in interface EncTypeHandlerpaddingSize in class AbstractEncTypeHandlerpublic CheckSumType checksumType()
protected void encryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage)
throws KrbException
encryptWith in class AbstractEncTypeHandlerKrbExceptionprotected byte[] makeUsageKey(byte[] key,
int usage)
throws KrbException
KrbExceptionprotected byte[] makeEncKey(byte[] usageKey,
byte[] checksum)
throws KrbException
KrbExceptionprotected byte[] decryptWith(byte[] workBuffer,
int[] workLens,
byte[] key,
byte[] iv,
int usage)
throws KrbException
decryptWith in class AbstractEncTypeHandlerKrbExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.