public class ArcFourHmacDecoder extends Decoder
Decoder for ArcFourHmac.| Constructor and Description |
|---|
ArcFourHmacDecoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
blockSize() |
int |
checksumSize() |
int |
confounderSize() |
byte[] |
decrypt(byte[] cipher,
byte[] key,
byte[] ivec,
int usage) |
byte[] |
decrypt(byte[] cipher,
byte[] key,
int usage) |
byte[] |
decryptedData(byte[] data) |
protected byte[] |
getHmac(byte[] key,
byte[] msg) |
int |
keySize() |
dataSize, getInstace, startOfChecksum, startOfDatapublic int checksumSize()
checksumSize in class Decoderpublic 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 byte[] getHmac(byte[] key,
byte[] msg)
throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] decryptedData(byte[] data)
decryptedData in class DecoderCopyright © 2016 JBoss by Red Hat. All rights reserved.