| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Certificate | |
| private final JcaTlsCrypto | |
| private final PrivateKey |
| Access | Constructor and Description |
|---|---|
| public | JceDefaultTlsCredentialedAgreement(JcaTlsCrypto crypto, Certificate certificate, PrivateKey privateKey)
|
| Modifier and Type | Method and Description |
|---|---|
| public TlsSecret | generateAgreement(TlsCertificate
public key certificate of our TLS peer. peerCertificate)Implements org. |
| public static String | |
| public Certificate | getCertificate()
Implements org. |
| agreementAlgorithm | back to summary |
|---|---|
| private final String agreementAlgorithm | |
| certificate | back to summary |
|---|---|
| private final Certificate certificate | |
| crypto | back to summary |
|---|---|
| private final JcaTlsCrypto crypto | |
| privateKey | back to summary |
|---|---|
| private final PrivateKey privateKey | |
| JceDefaultTlsCredentialedAgreement | back to summary |
|---|---|
| public JceDefaultTlsCredentialedAgreement(JcaTlsCrypto crypto, Certificate certificate, PrivateKey privateKey) | |
| generateAgreement | back to summary |
|---|---|
| public TlsSecret generateAgreement(TlsCertificate peerCertificate) throws IOException Implements org. Doc from org. Calculate an agreed secret based on our credentials and the public key credentials of our peer.
| |
| getAgreementAlgorithm | back to summary |
|---|---|
| public static String getAgreementAlgorithm(PrivateKey privateKey) | |
| getCertificate | back to summary |
|---|---|
| public Certificate getCertificate() Implements org. Doc from org. Return the certificate structure representing our identity.
| |