public class Des3CbcHmacSha1KdDecoder extends Decoder
Decoder
for Des3CbcHmacSha1Kd.Constructor and Description |
---|
Des3CbcHmacSha1KdDecoder() |
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 Cipher |
getCipher(byte[] key,
byte[] ivec,
int mode) |
protected byte[] |
getHmac(byte[] key,
byte[] msg) |
protected int |
getKeySeedLength() |
int |
keySize() |
protected byte[] |
randomToKey(byte[] in) |
dataSize, getInstace, startOfChecksum, startOfData
public int checksumSize()
checksumSize
in class Decoder
public int confounderSize()
confounderSize
in class Decoder
public byte[] decrypt(byte[] cipher, byte[] key, int usage) throws NegotiationException
decrypt
in class Decoder
NegotiationException
public byte[] decrypt(byte[] cipher, byte[] key, byte[] ivec, int usage) throws NegotiationException
NegotiationException
protected Cipher getCipher(byte[] key, byte[] ivec, int mode) throws GeneralSecurityException
GeneralSecurityException
protected byte[] getHmac(byte[] key, byte[] msg) throws GeneralSecurityException
GeneralSecurityException
protected byte[] randomToKey(byte[] in)
protected int getKeySeedLength()
public byte[] decryptedData(byte[] data)
decryptedData
in class Decoder
Copyright © 2018 JBoss by Red Hat. All rights reserved.