TlsCredentials, TlsEncryptionCredentialspublic class DefaultTlsEncryptionCredentials extends AbstractTlsEncryptionCredentials
| Modifier and Type | Field | Description |
|---|---|---|
protected Certificate |
certificate |
|
protected TlsContext |
context |
|
protected AsymmetricKeyParameter |
privateKey |
| Constructor | Description |
|---|---|
DefaultTlsEncryptionCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
decryptPreMasterSecret(byte[] encryptedPreMasterSecret) |
|
Certificate |
getCertificate() |
protected TlsContext context
protected Certificate certificate
protected AsymmetricKeyParameter privateKey
public DefaultTlsEncryptionCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey)
public Certificate getCertificate()
public byte[] decryptPreMasterSecret(byte[] encryptedPreMasterSecret)
throws java.io.IOException
java.io.IOException