|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.crypto.MacSpi
org.bouncycastle.jcajce.provider.symmetric.util.BaseMac
public class BaseMac
| Nested Class Summary | |
|---|---|
static class |
BaseMac.DES
DES |
static class |
BaseMac.DES64
DES 64 bit MAC |
static class |
BaseMac.DES9797Alg3
DES9797Alg3 |
static class |
BaseMac.DES9797Alg3with7816d4
DES9797Alg3with7816-4Padding |
static class |
BaseMac.DESCFB8
DES |
static class |
BaseMac.GOST28147
GOST28147 |
static class |
BaseMac.MD2
MD2 HMac |
static class |
BaseMac.MD4
MD4 HMac |
static class |
BaseMac.MD5
MD5 HMac |
static class |
BaseMac.OldSHA384
|
static class |
BaseMac.OldSHA512
SHA-512 HMac |
static class |
BaseMac.PBEWithRIPEMD160
PBEWithHmacRIPEMD160 |
static class |
BaseMac.PBEWithSHA
PBEWithHmacSHA |
static class |
BaseMac.PBEWithTiger
PBEWithHmacTiger |
static class |
BaseMac.RC2
RC2 |
static class |
BaseMac.RC2CFB8
RC2CFB8 |
static class |
BaseMac.RIPEMD128
RIPEMD128 HMac |
static class |
BaseMac.RIPEMD160
RIPEMD160 HMac |
static class |
BaseMac.SHA1
SHA1 HMac |
static class |
BaseMac.SHA224
SHA-224 HMac |
static class |
BaseMac.SHA256
SHA-256 HMac |
static class |
BaseMac.SHA384
SHA-384 HMac |
static class |
BaseMac.SHA512
SHA-512 HMac |
static class |
BaseMac.Tiger
Tiger HMac |
| Nested classes/interfaces inherited from interface org.bouncycastle.jcajce.provider.symmetric.util.PBE |
|---|
PBE.Util |
| Field Summary |
|---|
| Fields inherited from interface org.bouncycastle.jcajce.provider.symmetric.util.PBE |
|---|
MD2, MD5, OPENSSL, PKCS12, PKCS5S1, PKCS5S2, RIPEMD160, SHA1, SHA256, TIGER |
| Constructor Summary | |
|---|---|
protected |
BaseMac(Mac macEngine)
|
protected |
BaseMac(Mac macEngine,
int pbeType,
int pbeHash,
int keySize)
|
| Method Summary | |
|---|---|
protected byte[] |
engineDoFinal()
|
protected int |
engineGetMacLength()
|
protected void |
engineInit(java.security.Key key,
java.security.spec.AlgorithmParameterSpec params)
|
protected void |
engineReset()
|
protected void |
engineUpdate(byte input)
|
protected void |
engineUpdate(byte[] input,
int offset,
int len)
|
| Methods inherited from class javax.crypto.MacSpi |
|---|
clone, engineUpdate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseMac(Mac macEngine)
protected BaseMac(Mac macEngine,
int pbeType,
int pbeHash,
int keySize)
| Method Detail |
|---|
protected void engineInit(java.security.Key key,
java.security.spec.AlgorithmParameterSpec params)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
engineInit in class javax.crypto.MacSpijava.security.InvalidKeyException
java.security.InvalidAlgorithmParameterExceptionprotected int engineGetMacLength()
engineGetMacLength in class javax.crypto.MacSpiprotected void engineReset()
engineReset in class javax.crypto.MacSpiprotected void engineUpdate(byte input)
engineUpdate in class javax.crypto.MacSpi
protected void engineUpdate(byte[] input,
int offset,
int len)
engineUpdate in class javax.crypto.MacSpiprotected byte[] engineDoFinal()
engineDoFinal in class javax.crypto.MacSpi
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||