Package | Description |
---|---|
org.spongycastle.crypto |
Base classes for the lightweight API.
|
org.spongycastle.crypto.agreement.srp | |
org.spongycastle.crypto.signers |
Basic signers.
|
org.spongycastle.crypto.tls |
A lightweight TLS API.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidCipherTextException
this exception is thrown whenever we find something we don't expect in a
message.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Signer.generateSignature()
generate a signature for the message we've been loaded with using
the key we were initialised with.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
SRP6Client.calculateSecret(java.math.BigInteger serverB)
Generates client's verification message given the server's credentials
|
java.math.BigInteger |
SRP6Server.calculateSecret(java.math.BigInteger clientA)
Processes the client's credentials.
|
static java.math.BigInteger |
SRP6Util.validatePublicValue(java.math.BigInteger N,
java.math.BigInteger val) |
Modifier and Type | Method and Description |
---|---|
byte[] |
GenericSigner.generateSignature()
Generate a signature for the message we've been loaded with using the key
we were initialised with.
|
byte[] |
ISO9796d2PSSSigner.generateSignature()
generate a signature for the loaded message using the key we were
initialised with.
|
byte[] |
ISO9796d2Signer.generateSignature()
generate a signature for the loaded message using the key we were
initialised with.
|
byte[] |
PSSSigner.generateSignature()
generate a signature for the message we've been loaded with using
the key we were initialised with.
|
byte[] |
RSADigestSigner.generateSignature()
Generate a signature for the message we've been loaded with using the key
we were initialised with.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
TlsSigner.calculateRawSignature(java.security.SecureRandom random,
AsymmetricKeyParameter privateKey,
byte[] md5andsha1) |
byte[] |
TlsRSASigner.calculateRawSignature(java.security.SecureRandom random,
AsymmetricKeyParameter privateKey,
byte[] md5andsha1) |
byte[] |
TlsDSASigner.calculateRawSignature(java.security.SecureRandom secureRandom,
AsymmetricKeyParameter privateKey,
byte[] md5andsha1) |