Package | Description |
---|---|
org.spongycastle.crypto.tls |
A lightweight TLS API.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
TlsClientContextImpl |
Modifier and Type | Field and Description |
---|---|
protected TlsClientContext |
TlsBlockCipher.context |
protected TlsClientContext |
TlsMac.context |
private TlsClientContext |
RecordStream.context |
protected TlsClientContext |
TlsDHKeyExchange.context |
protected TlsClientContext |
TlsSRPKeyExchange.context |
protected TlsClientContext |
PSKTlsClient.context |
protected TlsClientContext |
DefaultTlsClient.context |
protected TlsClientContext |
TlsPSKKeyExchange.context |
protected TlsClientContext |
CombinedHash.context |
protected TlsClientContext |
TlsRSAKeyExchange.context |
protected TlsClientContext |
TlsECDHKeyExchange.context |
protected TlsClientContext |
DefaultTlsSignerCredentials.context |
protected TlsClientContext |
SRPTlsClient.context |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
TlsUtils.calculateKeyBlock(TlsClientContext context,
int size) |
(package private) static byte[] |
TlsUtils.calculateMasterSecret(TlsClientContext context,
byte[] pms) |
(package private) static byte[] |
TlsUtils.calculateVerifyData(TlsClientContext context,
java.lang.String asciiLabel,
byte[] handshakeHash) |
protected TlsCipher |
DefaultTlsCipherFactory.createAESCipher(TlsClientContext context,
int cipherKeySize,
int digestAlgorithm) |
TlsCipher |
DefaultTlsCipherFactory.createCipher(TlsClientContext context,
int encryptionAlgorithm,
int digestAlgorithm) |
TlsCipher |
TlsCipherFactory.createCipher(TlsClientContext context,
int encryptionAlgorithm,
int digestAlgorithm)
See enumeration classes EncryptionAlgorithm and DigestAlgorithm for appropriate argument values
|
protected TlsCipher |
DefaultTlsCipherFactory.createDESedeCipher(TlsClientContext context,
int cipherKeySize,
int digestAlgorithm) |
static byte[] |
TlsRSAUtils.generateEncryptedPreMasterSecret(TlsClientContext context,
RSAKeyParameters rsaServerPublicKey,
java.io.OutputStream os) |
(package private) void |
RecordStream.init(TlsClientContext context) |
void |
PSKTlsClient.init(TlsClientContext context) |
void |
TlsClient.init(TlsClientContext context) |
void |
DefaultTlsClient.init(TlsClientContext context) |
void |
SRPTlsClient.init(TlsClientContext context) |
Constructor and Description |
---|
CombinedHash(TlsClientContext context) |
DefaultTlsSignerCredentials(TlsClientContext context,
Certificate clientCertificate,
AsymmetricKeyParameter clientPrivateKey) |
TlsBlockCipher(TlsClientContext context,
BlockCipher encryptCipher,
BlockCipher decryptCipher,
Digest writeDigest,
Digest readDigest,
int cipherKeySize) |
TlsDHEKeyExchange(TlsClientContext context,
int keyExchange) |
TlsDHKeyExchange(TlsClientContext context,
int keyExchange) |
TlsECDHEKeyExchange(TlsClientContext context,
int keyExchange) |
TlsECDHKeyExchange(TlsClientContext context,
int keyExchange) |
TlsMac(TlsClientContext context,
Digest digest,
byte[] key_block,
int offset,
int len)
Generate a new instance of an TlsMac.
|
TlsPSKKeyExchange(TlsClientContext context,
int keyExchange,
TlsPSKIdentity pskIdentity) |
TlsRSAKeyExchange(TlsClientContext context) |
TlsSRPKeyExchange(TlsClientContext context,
int keyExchange,
byte[] identity,
byte[] password) |