Package | Description |
---|---|
org.spongycastle.crypto.engines |
Basic cipher classes.
|
org.spongycastle.crypto.generators |
Generators for keys, key pairs and password based encryption algorithms.
|
org.spongycastle.crypto.io |
Classes for doing "enhanced" I/O with Digests and MACs.
|
org.spongycastle.crypto.macs |
Classes for creating MACs and HMACs.
|
org.spongycastle.crypto.modes |
Modes for symmetric ciphers.
|
org.spongycastle.crypto.tls |
A lightweight TLS API.
|
Modifier and Type | Field and Description |
---|---|
(package private) Mac |
IESEngine.mac |
Constructor and Description |
---|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac)
set up for use with stream mode, where the key derivation function
is used to provide a stream of bytes to xor with the message.
|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac,
BufferedBlockCipher cipher)
set up for use in conjunction with a block cipher to handle the
message.
|
IESEngine(BasicAgreement agree,
DerivationFunction kdf,
Mac mac,
BufferedBlockCipher cipher,
CipherParameters nonce)
TODO PERHAPS MAKE A NONCE INTERFACE RATHER THAN USING CIPHERPARAMETERS
WHICH DOES NOT ACTUALLY HAVE ANYTHING SPECIFIED IN THE INTERFACE.
|
Modifier and Type | Field and Description |
---|---|
private Mac |
PKCS5S2ParametersGenerator.hMac |
Modifier and Type | Field and Description |
---|---|
protected Mac |
MacInputStream.mac |
protected Mac |
MacOutputStream.mac |
Modifier and Type | Method and Description |
---|---|
Mac |
MacInputStream.getMac() |
Constructor and Description |
---|
MacInputStream(java.io.InputStream stream,
Mac mac) |
MacOutputStream(Mac mac) |
Modifier and Type | Class and Description |
---|---|
class |
BlockCipherMac |
class |
CBCBlockCipherMac
standard CBC Block Cipher MAC - if no padding is specified the default of
pad of zeroes is used.
|
class |
CFBBlockCipherMac |
class |
CMac
CMAC - as specified at www.nuee.nagoya-u.ac.jp/labs/tiwata/omac/omac.html
|
class |
GOST28147Mac
implementation of GOST 28147-89 MAC
|
class |
HMac
HMAC implementation based on RFC2104
H(K XOR opad, H(K XOR ipad, text))
|
class |
ISO9797Alg3Mac
DES based CBC Block Cipher MAC according to ISO9797, algorithm 3 (ANSI X9.19 Retail MAC)
This could as well be derived from CBCBlockCipherMac, but then the property mac in the base
class must be changed to protected
|
class |
OldHMac
HMAC implementation based on RFC2104
H(K XOR opad, H(K XOR ipad, text))
|
class |
VMPCMac |
Modifier and Type | Field and Description |
---|---|
private Mac |
EAXBlockCipher.mac |
Modifier and Type | Class and Description |
---|---|
class |
SSL3Mac
HMAC implementation based on original internet draft for HMAC (RFC 2104)
The difference is that padding is concatentated versus XORed with the key
H(K + opad, H(K + ipad, text))
|
Modifier and Type | Field and Description |
---|---|
protected Mac |
TlsMac.mac |