public abstract class DesCbcDecoder extends Decoder
| Constructor and Description |
|---|
DesCbcDecoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
blockSize() |
protected abstract byte[] |
calculateChecksum(byte[] data,
int size) |
static void |
cbc_encrypt(byte[] input,
byte[] output,
byte[] key,
byte[] ivec,
boolean encrypt) |
int |
confounderSize() |
byte[] |
decrypt(byte[] cipher,
byte[] key,
byte[] ivec,
int usage) |
byte[] |
decrypt(byte[] cipher,
byte[] key,
int usage) |
protected boolean |
isChecksumValid(byte[] data) |
int |
keySize() |
checksumSize, dataSize, decryptedData, getInstace, startOfChecksum, startOfDataprotected abstract byte[] calculateChecksum(byte[] data,
int size)
throws NegotiationException
NegotiationExceptionpublic int confounderSize()
confounderSize in class Decoderpublic byte[] decrypt(byte[] cipher,
byte[] key,
int usage)
throws NegotiationException
decrypt in class DecoderNegotiationExceptionpublic byte[] decrypt(byte[] cipher,
byte[] key,
byte[] ivec,
int usage)
throws NegotiationException
NegotiationExceptionprotected boolean isChecksumValid(byte[] data)
throws NegotiationException
NegotiationExceptionpublic static void cbc_encrypt(byte[] input,
byte[] output,
byte[] key,
byte[] ivec,
boolean encrypt)
throws NegotiationException
NegotiationExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.