public class DefaultTlsAgreementCredentials extends AbstractTlsAgreementCredentials
Modifier and Type | Field and Description |
---|---|
protected BasicAgreement |
basicAgreement
Deprecated.
|
protected Certificate |
certificate
Deprecated.
|
protected AsymmetricKeyParameter |
privateKey
Deprecated.
|
protected boolean |
truncateAgreement
Deprecated.
|
Constructor and Description |
---|
DefaultTlsAgreementCredentials(Certificate certificate,
AsymmetricKeyParameter privateKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generateAgreement(AsymmetricKeyParameter peerPublicKey)
Deprecated.
|
Certificate |
getCertificate()
Deprecated.
|
protected Certificate certificate
protected AsymmetricKeyParameter privateKey
protected BasicAgreement basicAgreement
protected boolean truncateAgreement
public DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey)
public Certificate getCertificate()
public byte[] generateAgreement(AsymmetricKeyParameter peerPublicKey)