Package | Description |
---|---|
old.org.bouncycastle.crypto.macs | |
old.org.bouncycastle.crypto.paddings |
Constructor and Description |
---|
CBCBlockCipherMac(BlockCipher cipher,
BlockCipherPadding padding)
create a standard MAC based on a CBC block cipher.
|
CBCBlockCipherMac(BlockCipher cipher,
int macSizeInBits,
BlockCipherPadding padding)
create a standard MAC based on a block cipher with the size of the
MAC been given in bits.
|
CFBBlockCipherMac(BlockCipher cipher,
BlockCipherPadding padding)
create a standard MAC based on a CFB block cipher.
|
CFBBlockCipherMac(BlockCipher cipher,
int cfbBitSize,
int macSizeInBits,
BlockCipherPadding padding)
create a standard MAC based on a block cipher with the size of the
MAC been given in bits.
|
ISO9797Alg3Mac(BlockCipher cipher,
BlockCipherPadding padding)
create a Retail-MAC based on a CBC block cipher.
|
ISO9797Alg3Mac(BlockCipher cipher,
int macSizeInBits,
BlockCipherPadding padding)
create a standard MAC based on a block cipher with the size of the
MAC been given in bits.
|
Modifier and Type | Class and Description |
---|---|
class |
ISO10126d2Padding
A padder that adds ISO10126-2 padding to a block.
|
class |
ISO7816d4Padding
A padder that adds the padding according to the scheme referenced in
ISO 7814-4 - scheme 2 from ISO 9797-1.
|
class |
PKCS7Padding
A padder that adds PKCS7/PKCS5 padding to a block.
|
class |
TBCPadding
A padder that adds Trailing-Bit-Compliment padding to a block.
|
class |
X923Padding
A padder that adds X9.23 padding to a block - if a SecureRandom is
passed in random padding is assumed, otherwise padding with zeros is used.
|
class |
ZeroBytePadding
A padder that adds NULL byte padding to a block.
|
Constructor and Description |
---|
PaddedBufferedBlockCipher(BlockCipher cipher,
BlockCipherPadding padding)
Create a buffered block cipher with the desired padding.
|
Copyright © 2015. All rights reserved.