public class DesCbcCrcDecoder extends DesCbcDecoder
Decoder
for DesCbcCrc.Constructor and Description |
---|
DesCbcCrcDecoder() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
calculateChecksum(byte[] data,
int size) |
int |
checksumSize() |
byte[] |
decrypt(byte[] cipher,
byte[] key,
int usage) |
blockSize, cbc_encrypt, confounderSize, decrypt, isChecksumValid, keySize
dataSize, decryptedData, getInstace, startOfChecksum, startOfData
public int checksumSize()
checksumSize
in class Decoder
public byte[] decrypt(byte[] cipher, byte[] key, int usage) throws NegotiationException
decrypt
in class DesCbcDecoder
NegotiationException
protected byte[] calculateChecksum(byte[] data, int size) throws NegotiationException
calculateChecksum
in class DesCbcDecoder
NegotiationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.