public abstract class AesCtsHmacSha1Decoder extends Decoder
| Constructor and Description |
|---|
AesCtsHmacSha1Decoder() |
| 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) |
protected byte[] |
decrypt(byte[] baseKey,
int usage,
byte[] ivec,
byte[] cipherText,
int start,
int length) |
protected byte[] |
decryptCTS(byte[] baseKey,
int usage,
byte[] ivec,
byte[] ciphertext,
int start,
int len,
boolean confounder_exists) |
byte[] |
decryptedData(byte[] data) |
protected byte[] |
dk(byte[] key,
byte[] constant) |
protected Cipher |
getCipher(byte[] key,
byte[] ivec,
int mode) |
protected byte[] |
getHmac(byte[] key,
byte[] msg) |
protected abstract int |
getKeySeedLength() |
protected byte[] |
randomToKey(byte[] in) |
dataSize, getInstace, keySize, 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[] decrypt(byte[] baseKey,
int usage,
byte[] ivec,
byte[] cipherText,
int start,
int length)
throws GeneralSecurityException
GeneralSecurityExceptionprotected byte[] decryptCTS(byte[] baseKey,
int usage,
byte[] ivec,
byte[] ciphertext,
int start,
int len,
boolean confounder_exists)
throws GeneralSecurityException
GeneralSecurityExceptionprotected byte[] getHmac(byte[] key,
byte[] msg)
throws GeneralSecurityException
GeneralSecurityExceptionprotected byte[] dk(byte[] key,
byte[] constant)
throws GeneralSecurityException
GeneralSecurityExceptionprotected byte[] randomToKey(byte[] in)
protected Cipher getCipher(byte[] key, byte[] ivec, int mode) throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] decryptedData(byte[] data)
decryptedData in class Decoderprotected abstract int getKeySeedLength()
Copyright © 2016 JBoss by Red Hat. All rights reserved.