public class DefaultTlsEncryptionCredentials extends AbstractTlsEncryptionCredentials
Modifier and Type | Field and Description |
---|---|
protected Certificate |
certificate
Deprecated.
|
protected TlsContext |
context
Deprecated.
|
protected AsymmetricKeyParameter |
privateKey
Deprecated.
|
Constructor and Description |
---|
DefaultTlsEncryptionCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
decryptPreMasterSecret(byte[] encryptedPreMasterSecret)
Deprecated.
|
Certificate |
getCertificate()
Deprecated.
|
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