Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedDigest |
Modifier and Type | Method and Description |
---|---|
Digest |
DigestDerivationFunction.getDigest()
return the message digest used as the basis for the function
|
Modifier and Type | Method and Description |
---|---|
static BigInteger |
JPAKEUtil.calculateMacTag(String participantId,
String partnerParticipantId,
BigInteger gx1,
BigInteger gx2,
BigInteger gx3,
BigInteger gx4,
BigInteger keyingMaterial,
Digest digest)
Calculates the MacTag (to be used for key confirmation), as defined by
NIST SP 800-56A Revision 1,
Section 8.2 Unilateral Key Confirmation for Key Agreement Schemes.
|
static BigInteger[] |
JPAKEUtil.calculateZeroKnowledgeProof(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger gx,
BigInteger x,
String participantId,
Digest digest,
SecureRandom random)
Calculate a zero knowledge proof of x using Schnorr's signature.
|
static void |
JPAKEUtil.validateMacTag(String participantId,
String partnerParticipantId,
BigInteger gx1,
BigInteger gx2,
BigInteger gx3,
BigInteger gx4,
BigInteger keyingMaterial,
Digest digest,
BigInteger partnerMacTag)
Validates the MacTag received from the partner participant.
|
static void |
JPAKEUtil.validateZeroKnowledgeProof(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger gx,
BigInteger[] zeroKnowledgeProof,
String participantId,
Digest digest)
Validates the zero knowledge proof (generated by
JPAKEUtil.calculateZeroKnowledgeProof(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, String, Digest, SecureRandom) )
is correct. |
Constructor and Description |
---|
JPAKEParticipant(String participantId,
char[] password,
JPAKEPrimeOrderGroup group,
Digest digest,
SecureRandom random)
Construct a new
JPAKEParticipant . |
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 |
SRP6VerifierGenerator.digest |
protected Digest |
SRP6Client.digest |
protected Digest |
SRP6Server.digest |
Modifier and Type | Method and Description |
---|---|
static BigInteger |
SRP6Util.calculateK(Digest digest,
BigInteger N,
BigInteger g) |
static BigInteger |
SRP6Util.calculateKey(Digest digest,
BigInteger N,
BigInteger S)
Computes the final Key according to the standard routine: Key = H(S)
|
static BigInteger |
SRP6Util.calculateM1(Digest digest,
BigInteger N,
BigInteger A,
BigInteger B,
BigInteger S)
Computes the client evidence message (M1) according to the standard routine:
M1 = H( A | B | S )
|
static BigInteger |
SRP6Util.calculateM2(Digest digest,
BigInteger N,
BigInteger A,
BigInteger M1,
BigInteger S)
Computes the server evidence message (M2) according to the standard routine:
M2 = H( A | M1 | S )
|
static BigInteger |
SRP6Util.calculateU(Digest digest,
BigInteger N,
BigInteger A,
BigInteger B) |
static BigInteger |
SRP6Util.calculateX(Digest digest,
BigInteger N,
byte[] salt,
byte[] identity,
byte[] password) |
static BigInteger |
SRP6Util.generatePrivateValue(Digest digest,
BigInteger N,
BigInteger g,
SecureRandom random) |
void |
SRP6Server.init(BigInteger N,
BigInteger g,
BigInteger v,
Digest digest,
SecureRandom random)
Initialises the server to accept a new client authentication attempt
|
void |
SRP6VerifierGenerator.init(BigInteger N,
BigInteger g,
Digest digest)
Initialises generator to create new verifiers
|
void |
SRP6Client.init(BigInteger N,
BigInteger g,
Digest digest,
SecureRandom random)
Initialises the client to begin new authentication attempt
|
void |
SRP6Server.init(SRP6GroupParameters group,
BigInteger v,
Digest digest,
SecureRandom random) |
void |
SRP6VerifierGenerator.init(SRP6GroupParameters group,
Digest digest) |
void |
SRP6Client.init(SRP6GroupParameters group,
Digest digest,
SecureRandom random) |
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 |
NonMemoableDigest
Wrapper removes exposure to the Memoable interface on an ExtendedDigest implementation.
|
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 |
SHA3Digest
implementation of SHA-3 based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
class |
SHA512Digest
FIPS 180-2 implementation of SHA-512.
|
class |
SHA512tDigest
FIPS 180-4 implementation of SHA-512/t
|
class |
ShortenedDigest
Wrapper class that reduces the output length of a particular digest to
only the first n bytes of the digest function.
|
class |
SkeinDigest
Implementation of the Skein parameterised hash function in 256, 512 and 1024 bit block sizes,
based on the
Threefish tweakable block cipher. |
class |
SM3Digest
Implementation of Chinese SM3 digest as described at
http://tools.ietf.org/html/draft-shen-sm3-hash-00
and at ....
|
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.
|
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 | Method and Description |
---|---|
Digest |
HKDFBytesGenerator.getDigest() |
Digest |
MGF1BytesGenerator.getDigest()
return the underlying digest.
|
Digest |
BaseKDFBytesGenerator.getDigest()
return the underlying digest.
|
Constructor and Description |
---|
BaseKDFBytesGenerator(int counterStart,
Digest digest)
Construct a KDF Parameters generator.
|
DSAParametersGenerator(Digest digest) |
HKDFBytesGenerator(Digest hash)
Creates a HKDFBytesGenerator based on the given hash function.
|
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 |
DigestInputStream.digest |
protected Digest |
DigestOutputStream.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
DigestInputStream.getDigest() |
Constructor and Description |
---|
DigestInputStream(InputStream stream,
Digest digest) |
DigestOutputStream(Digest Digest) |
Modifier and Type | Method and Description |
---|---|
Digest |
HMac.getUnderlyingDigest() |
Digest |
OldHMac.getUnderlyingDigest() |
Constructor and Description |
---|
HMac(Digest digest)
Base constructor for one of the standard digest algorithms that the
byteLength of the algorithm is know for.
|
OldHMac(Digest digest)
Deprecated.
uses incorrect pad for SHA-512 and SHA-384 use HMac.
|
Modifier and Type | Method and Description |
---|---|
Digest |
CramerShoupParameters.getH() |
Constructor and Description |
---|
CramerShoupParameters(BigInteger p,
BigInteger g1,
BigInteger g2,
Digest H) |
Modifier and Type | Method and Description |
---|---|
SP800SecureRandom |
SP800SecureRandomBuilder.buildDualEC(Digest digest,
byte[] nonce,
boolean predictionResistant)
Build a SecureRandom based on a SP 800-90A Dual EC DRBG using the NIST point set.
|
SP800SecureRandom |
SP800SecureRandomBuilder.buildDualEC(DualECPoints[] pointSet,
Digest digest,
byte[] nonce,
boolean predictionResistant)
Build a SecureRandom based on a SP 800-90A Dual EC DRBG according to a defined point set.
|
SP800SecureRandom |
SP800SecureRandomBuilder.buildHash(Digest digest,
byte[] nonce,
boolean predictionResistant)
Build a SecureRandom based on a SP 800-90A Hash DRBG.
|
Constructor and Description |
---|
DigestRandomGenerator(Digest digest) |
Constructor and Description |
---|
DualECSP800DRBG(Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Dual EC DRBG.
|
DualECSP800DRBG(DualECPoints[] pointSet,
Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Dual EC DRBG.
|
HashSP800DRBG(Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Hash DRBG.
|
Constructor and Description |
---|
DSADigestSigner(DSA signer,
Digest digest) |
GenericSigner(AsymmetricBlockCipher engine,
Digest digest) |
HMacDSAKCalculator(Digest digest)
Base constructor.
|
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.
|
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) |
RSADigestSigner(Digest digest,
ASN1ObjectIdentifier digestOid) |
X931Signer(AsymmetricBlockCipher cipher,
Digest digest)
Constructor for a signer with an explicit digest trailer.
|
X931Signer(AsymmetricBlockCipher cipher,
Digest digest,
boolean implicit)
Generate a signer for the with either implicit or explicit trailers
for ISO9796-2.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TlsHandshakeHash |
Modifier and Type | Method and Description |
---|---|
static Digest |
TlsUtils.cloneHash(short hashAlgorithm,
Digest hash) |
static Digest |
TlsUtils.clonePRFHash(int prfAlgorithm,
Digest hash) |
static Digest |
TlsUtils.createHash(short hashAlgorithm) |
static Digest |
TlsUtils.createHash(SignatureAndHashAlgorithm signatureAndHashAlgorithm) |
protected Digest |
DefaultTlsCipherFactory.createHMACDigest(int macAlgorithm) |
static Digest |
TlsUtils.createPRFHash(int prfAlgorithm) |
Digest |
TlsHandshakeHash.forkPRFHash() |
Digest |
SSL3Mac.getUnderlyingDigest() |
Modifier and Type | Method and Description |
---|---|
static Digest |
TlsUtils.cloneHash(short hashAlgorithm,
Digest hash) |
static Digest |
TlsUtils.clonePRFHash(int prfAlgorithm,
Digest hash) |
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(TlsContext context,
BlockCipher clientWriteCipher,
BlockCipher serverWriteCipher,
Digest clientWriteDigest,
Digest serverWriteDigest,
int cipherKeySize) |
TlsMac(TlsContext context,
Digest digest,
byte[] key,
int keyOff,
int keyLen)
Generate a new instance of an TlsMac.
|
TlsNullCipher(TlsContext context,
Digest clientWriteDigest,
Digest serverWriteDigest) |
TlsStreamCipher(TlsContext context,
StreamCipher clientWriteCipher,
StreamCipher serverWriteCipher,
Digest clientWriteDigest,
Digest serverWriteDigest,
int cipherKeySize,
boolean usesNonce) |
Constructor and Description |
---|
DSASigner(Digest digest,
DSA signer) |
Constructor and Description |
---|
DigestSignatureSpi(ASN1ObjectIdentifier objId,
Digest digest,
AsymmetricBlockCipher cipher) |
DigestSignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
ISOSignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
X931SignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
DSABase.digest |
Constructor and Description |
---|
DSABase(Digest digest,
DSA signer,
DSAEncoder encoder) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
BCMessageDigest.digest |
Constructor and Description |
---|
BCMessageDigest(Digest digest) |
Modifier and Type | Method and Description |
---|---|
static Digest |
DigestFactory.getDigest(String digestName) |
Modifier and Type | Method and Description |
---|---|
Digest |
BrokenKDF2BytesGenerator.getDigest()
return the underlying digest.
|
Constructor and Description |
---|
BrokenKDF2BytesGenerator(Digest digest)
Construct a KDF2 Parameters generator.
|
Constructor and Description |
---|
DigestingMessageSigner(MessageSigner messSigner,
Digest messDigest) |
Modifier and Type | Method and Description |
---|---|
Digest |
GMSSDigestProvider.get() |
Constructor and Description |
---|
GMSSLeaf(Digest digest,
byte[][] otsIndex,
int[] numLeafs)
This constructor regenerates a prior GMSSLeaf object
|
GMSSLeaf(Digest digest,
int w,
int numLeafs,
byte[] seed0) |
GMSSRootCalc(Digest digest,
byte[][] statByte,
int[] statInt,
Treehash[] treeH,
Vector[] ret)
This constructor regenerates a prior treehash object
|
GMSSRootSig(Digest digest,
byte[][] statByte,
int[] statInt)
This constructor regenerates a prior GMSSRootSig object used by the
GMSSPrivateKeyASN.1 class
|
GMSSRootSig(Digest digest,
int w,
int height)
The constructor generates the PRNG and initializes some variables
|
Treehash(Digest name,
byte[][] statByte,
int[] statInt)
This constructor regenerates a prior treehash object
|
Treehash(Vector tailStack,
int maxHeight,
Digest digest)
Constructor
|
Constructor and Description |
---|
GMSSRandom(Digest messDigestTree2)
Constructor
|
WinternitzOTSignature(byte[] seed0,
Digest digest,
int w)
The constructor generates an OTS key pair, using
seed0 and
the PRNG |
WinternitzOTSVerify(Digest digest,
int w)
The constructor
|
Modifier and Type | Field and Description |
---|---|
Digest |
McElieceCCA2Parameters.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
McElieceCCA2Parameters.getDigest() |
Constructor and Description |
---|
McElieceCCA2Parameters(Digest digest) |
McElieceFujisakiDigestCipher(MessageEncryptor mcElieceCCA2Cipher,
Digest messDigest) |
McElieceKobaraImaiDigestCipher(MessageEncryptor mcElieceCCA2Cipher,
Digest messDigest) |
McEliecePKCSDigestCipher(MessageEncryptor mcElieceCipher,
Digest messDigest) |
McEliecePointchevalDigestCipher(MessageEncryptor mcElieceCCA2Cipher,
Digest messDigest) |
Constructor and Description |
---|
McElieceFujisakiCipherSpi(Digest digest,
McElieceFujisakiCipher cipher) |
McElieceKobaraImaiCipherSpi(Digest digest,
McElieceKobaraImaiCipher cipher) |
McEliecePKCSCipherSpi(Digest digest,
McEliecePKCSCipher cipher) |
McEliecePointchevalCipherSpi(Digest digest,
McEliecePointchevalCipher cipher) |
Constructor and Description |
---|
SignatureSpi(Digest digest,
RainbowSigner signer) |
Copyright © 2016 BouncyCastle.org. All rights reserved.