Modifier and Type | Method and Description |
---|---|
static ECPublicKeyParameters |
ECGKeyUtil.decodeBase64SignedPubKey(ECKeyParam keyParam,
Digest digest,
byte[] signedPubKey)
decodeBase64SignedPubKey A wrapper function for decodeSignedPubKey which
takes an ASN.1 encoded ECC public key Q that is signed using the Elliptic
Curve Gillett (ECG) Exchange key exchange and that was then encoded as base64
and returns an ECPublicKeyParameters object for the public key Q.
|
static ECPublicKeyParameters |
ECGKeyUtil.decodeSignedPubKey(ECKeyParam keyParam,
Digest digest,
byte[] signedPubKey)
decodeSignedPubKey A function which takes an ASN.1 encoded ECC public key Q
that is signed using the Elliptic Curve Gillett (ECG) Exchange key exchange
and returns an ECPublicKeyParameters object for the public key Q.
|
static byte[] |
ECGKeyExchange.signPubKey(Digest digest,
byte[] encodedPubKey,
APrioriInfo sharedInfo,
boolean isInitiator) |
static boolean |
ECGKeyExchange.verifyPubKey(Digest digest,
byte[] signedPubKey,
APrioriInfo sharedInfo,
boolean isInitiator) |
Constructor and Description |
---|
ECEngine(BufferedBlockCipher cipher,
CipherParameters nonce,
Digest digest,
APrioriInfo sharedInfo)
Constructor, specify the block cipher and digest to use
|
Modifier and Type | Field and Description |
---|---|
private Digest |
SDFGenerator.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
SDFGenerator.getDigest()
Returns the digest being used by the SDF
|
Constructor and Description |
---|
SDFGenerator(Digest digest)
Define the digest to use for the SDF generator as well as the number
of iterations that the digest is applied.
|
SDFGenerator(Digest digest,
int iterations)
Define the digest to use for the SDF generator as well as the number
of iterations that the digest is applied.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedDigest |
Modifier and Type | Method and Description |
---|---|
Digest |
DerivationFunction.getDigest()
return the message digest used as the basis for the function
|
Modifier and Type | Field and Description |
---|---|
private Digest |
DHKEKGenerator.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
DHKEKGenerator.getDigest() |
Digest |
ECDHKEKGenerator.getDigest() |
Constructor and Description |
---|
DHKEKGenerator(Digest digest) |
ECDHKEKGenerator(Digest digest) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
SRP6Client.digest |
protected Digest |
SRP6VerifierGenerator.digest |
protected Digest |
SRP6Server.digest |
Modifier and Type | Method and Description |
---|---|
static java.math.BigInteger |
SRP6Util.calculateK(Digest digest,
java.math.BigInteger N,
java.math.BigInteger g) |
static java.math.BigInteger |
SRP6Util.calculateU(Digest digest,
java.math.BigInteger N,
java.math.BigInteger A,
java.math.BigInteger B) |
static java.math.BigInteger |
SRP6Util.calculateX(Digest digest,
java.math.BigInteger N,
byte[] salt,
byte[] identity,
byte[] password) |
static java.math.BigInteger |
SRP6Util.generatePrivateValue(Digest digest,
java.math.BigInteger N,
java.math.BigInteger g,
java.security.SecureRandom random) |
private static java.math.BigInteger |
SRP6Util.hashPaddedPair(Digest digest,
java.math.BigInteger N,
java.math.BigInteger n1,
java.math.BigInteger n2) |
void |
SRP6Server.init(java.math.BigInteger N,
java.math.BigInteger g,
java.math.BigInteger v,
Digest digest,
java.security.SecureRandom random)
Initialises the server to accept a new client authentication attempt
|
void |
SRP6VerifierGenerator.init(java.math.BigInteger N,
java.math.BigInteger g,
Digest digest)
Initialises generator to create new verifiers
|
void |
SRP6Client.init(java.math.BigInteger N,
java.math.BigInteger g,
Digest digest,
java.security.SecureRandom random)
Initialises the client to begin new authentication attempt
|
Modifier and Type | Class and Description |
---|---|
class |
GeneralDigest
base implementation of MD4 family style digest as outlined in
"Handbook of Applied Cryptography", pages 344 - 347.
|
class |
GOST3411Digest
implementation of GOST R 34.11-94
|
class |
LongDigest
Base class for SHA-384 and SHA-512.
|
class |
MD2Digest
implementation of MD2
as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
|
class |
MD4Digest
implementation of MD4 as RFC 1320 by R.
|
class |
MD5Digest
implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.
|
class |
NullDigest |
class |
RIPEMD128Digest
implementation of RIPEMD128
|
class |
RIPEMD160Digest
implementation of RIPEMD see,
http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
|
class |
RIPEMD256Digest
implementation of RIPEMD256.
|
class |
RIPEMD320Digest
implementation of RIPEMD 320.
|
class |
SHA1Digest
implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349.
|
class |
SHA224Digest
SHA-224 as described in RFC 3874
|
class |
SHA256Digest
FIPS 180-2 implementation of SHA-256.
|
class |
SHA384Digest
FIPS 180-2 implementation of SHA-384.
|
class |
SHA512Digest
FIPS 180-2 implementation of SHA-512.
|
class |
ShortenedDigest
Wrapper class that reduces the output length of a particular digest to
only the first n bytes of the digest function.
|
class |
TigerDigest
implementation of Tiger based on:
http://www.cs.technion.ac.il/~biham/Reports/Tiger
|
class |
WhirlpoolDigest
Implementation of WhirlpoolDigest, based on Java source published by Barreto
and Rijmen.
|
Modifier and Type | Field and Description |
---|---|
private Digest |
OAEPEncoding.hash |
private Digest |
OAEPEncoding.mgf1Hash |
Constructor and Description |
---|
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash) |
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash,
byte[] encodingParams) |
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash,
Digest mgf1Hash,
byte[] encodingParams) |
Modifier and Type | Field and Description |
---|---|
private Digest |
IndexGenerator.hashAlg |
(package private) Digest |
RC2WrapEngine.sha1 |
(package private) Digest |
DESedeWrapEngine.sha1 |
Modifier and Type | Method and Description |
---|---|
private byte[] |
NTRUEngine.calcHash(Digest hashAlg) |
private byte[] |
NTRUEngine.calcHash(Digest hashAlg,
byte[] input) |
private void |
IndexGenerator.putInt(Digest hashAlg,
int counter) |
private void |
NTRUEngine.putInt(Digest hashAlg,
int counter) |
Modifier and Type | Field and Description |
---|---|
private Digest |
PKCS5S1ParametersGenerator.digest |
private Digest |
PKCS12ParametersGenerator.digest |
private Digest |
OpenSSLPBEParametersGenerator.digest |
private Digest |
MGF1BytesGenerator.digest |
private Digest |
BaseKDFBytesGenerator.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
MGF1BytesGenerator.getDigest()
return the underlying digest.
|
Digest |
BaseKDFBytesGenerator.getDigest()
return the underlying digest.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DSAParametersGenerator.hash(Digest d,
byte[] input,
byte[] output) |
Constructor and Description |
---|
BaseKDFBytesGenerator(int counterStart,
Digest digest)
Construct a KDF Parameters generator.
|
KDF1BytesGenerator(Digest digest)
Construct a KDF1 byte generator.
|
KDF2BytesGenerator(Digest digest)
Construct a KDF2 bytes generator.
|
MGF1BytesGenerator(Digest digest) |
PKCS12ParametersGenerator(Digest digest)
Construct a PKCS 12 Parameters generator.
|
PKCS5S1ParametersGenerator(Digest digest)
Construct a PKCS 5 Scheme 1 Parameters generator.
|
PKCS5S2ParametersGenerator(Digest digest) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
DigestOutputStream.digest |
protected Digest |
DigestInputStream.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
DigestInputStream.getDigest() |
Constructor and Description |
---|
DigestInputStream(java.io.InputStream stream,
Digest digest) |
DigestOutputStream(Digest Digest) |
Modifier and Type | Field and Description |
---|---|
private Digest |
OldHMac.digest |
private Digest |
HMac.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
OldHMac.getUnderlyingDigest() |
Digest |
HMac.getUnderlyingDigest() |
Modifier and Type | Method and Description |
---|---|
private static int |
HMac.getByteLength(Digest digest) |
Constructor and Description |
---|
HMac(Digest digest)
Base constructor for one of the standard digest algorithms that the
byteLength of the algorithm is know for.
|
HMac(Digest digest,
int byteLength) |
OldHMac(Digest digest)
Deprecated.
uses incorrect pad for SHA-512 and SHA-384 use HMac.
|
Modifier and Type | Field and Description |
---|---|
Digest |
NTRUSigningParameters.hashAlg |
Digest |
NTRUSigningKeyGenerationParameters.hashAlg |
Digest |
NTRUEncryptionParameters.hashAlg |
Digest |
NTRUEncryptionKeyGenerationParameters.hashAlg |
Constructor and Description |
---|
NTRUEncryptionKeyGenerationParameters(int N,
int q,
int df,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUEncryptionKeyGenerationParameters(int N,
int q,
int df1,
int df2,
int df3,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUEncryptionParameters(int N,
int q,
int df,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUEncryptionParameters(int N,
int q,
int df1,
int df2,
int df3,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUSigningKeyGenerationParameters(int N,
int q,
int d,
int B,
int basisType,
double beta,
double normBound,
double keyNormBound,
boolean primeCheck,
boolean sparse,
int keyGenAlg,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUSigningKeyGenerationParameters(int N,
int q,
int d1,
int d2,
int d3,
int B,
int basisType,
double beta,
double normBound,
double keyNormBound,
boolean primeCheck,
boolean sparse,
int keyGenAlg,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUSigningParameters(int N,
int q,
int d,
int B,
double beta,
double normBound,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUSigningParameters(int N,
int q,
int d1,
int d2,
int d3,
int B,
double beta,
double normBound,
double keyNormBound,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
Modifier and Type | Field and Description |
---|---|
private Digest |
DigestRandomGenerator.digest |
Constructor and Description |
---|
DigestRandomGenerator(Digest digest) |
Modifier and Type | Field and Description |
---|---|
private Digest |
PSSSigner.contentDigest |
private Digest |
GenericSigner.digest |
private Digest |
ISO9796d2PSSSigner.digest |
private Digest |
DSADigestSigner.digest |
private Digest |
ISO9796d2Signer.digest |
private Digest |
RSADigestSigner.digest |
private Digest |
NTRUSigner.hashAlg |
private Digest |
NTRUSignerPrng.hashAlg |
private Digest |
PSSSigner.mgfDigest |
Constructor and Description |
---|
DSADigestSigner(DSA signer,
Digest digest) |
GenericSigner(AsymmetricBlockCipher engine,
Digest digest) |
ISO9796d2PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int saltLength)
Constructor for a signer with an explicit digest trailer.
|
ISO9796d2PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int saltLength,
boolean implicit)
Generate a signer for the with either implicit or explicit trailers
for ISO9796-2, scheme 2 or 3.
|
ISO9796d2Signer(AsymmetricBlockCipher cipher,
Digest digest)
Constructor for a signer with an explicit digest trailer.
|
ISO9796d2Signer(AsymmetricBlockCipher cipher,
Digest digest,
boolean implicit)
Generate a signer for the with either implicit or explicit trailers
for ISO9796-2.
|
NTRUSignerPrng(byte[] seed,
Digest hashAlg)
Constructs a new PRNG and seeds it with a byte array.
|
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
int sLen) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
int sLen,
byte trailer) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int sLen)
basic constructor
|
PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int sLen,
byte trailer) |
RSADigestSigner(Digest digest) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CombinedHash
A combined hash, which implements md5(m) || sha1(m).
|
Modifier and Type | Field and Description |
---|---|
private Digest |
SSL3Mac.digest |
Modifier and Type | Method and Description |
---|---|
protected Digest |
DefaultTlsCipherFactory.createDigest(int digestAlgorithm) |
Digest |
SSL3Mac.getUnderlyingDigest() |
Modifier and Type | Method and Description |
---|---|
private static byte[] |
RecordStream.doFinal(Digest d) |
private static void |
TlsUtils.hmac_hash(Digest digest,
byte[] secret,
byte[] seed,
byte[] out) |
(package private) static byte[] |
TlsUtils.PRF_1_2(Digest digest,
byte[] secret,
java.lang.String asciiLabel,
byte[] seed,
int size) |
protected void |
CombinedHash.ssl3Complete(Digest d,
byte[] ipad,
byte[] opad) |
Constructor and Description |
---|
SSL3Mac(Digest digest)
Base constructor for one of the standard digest algorithms that the byteLength of
the algorithm is know for.
|
TlsBlockCipher(TlsClientContext context,
BlockCipher encryptCipher,
BlockCipher decryptCipher,
Digest writeDigest,
Digest readDigest,
int cipherKeySize) |
TlsMac(TlsClientContext context,
Digest digest,
byte[] key_block,
int offset,
int len)
Generate a new instance of an TlsMac.
|
Constructor and Description |
---|
SignatureSpi(Digest digest,
DSA signer,
DSAEncoder encoder) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
DSABase.digest |
Constructor and Description |
---|
DSABase(Digest digest,
DSA signer,
DSAEncoder encoder) |
Modifier and Type | Method and Description |
---|---|
static Digest |
DigestFactory.getDigest(java.lang.String digestName) |