| Modifier and Type | Field and Description |
|---|---|
| protected Certificate | |
| protected BcTlsCrypto | |
| protected AsymmetricKeyParameter |
| Access | Constructor and Description |
|---|---|
| public | BcDefaultTlsCredentialedDecryptor(BcTlsCrypto crypto, Certificate certificate, AsymmetricKeyParameter privateKey)
|
| Modifier and Type | Method and Description |
|---|---|
| public TlsSecret | decrypt(TlsCryptoParameters
the parameters to use for the decryption. cryptoParams, byte[] the cipher text containing the secret. ciphertext)Implements org. Decrypt the passed in cipher text using the parameters available. |
| public Certificate | getCertificate()
Implements org. Return the certificate structure representing our identity. |
| protected TlsSecret | safeDecryptPreMasterSecret(TlsCryptoParameters cryptoParams, RSAKeyParameters rsaServerPrivateKey, byte[] encryptedPreMasterSecret)
|
| certificate | back to summary |
|---|---|
| protected Certificate certificate | |
| crypto | back to summary |
|---|---|
| protected BcTlsCrypto crypto | |
| privateKey | back to summary |
|---|---|
| protected AsymmetricKeyParameter privateKey | |
| BcDefaultTlsCredentialedDecryptor | back to summary |
|---|---|
| public BcDefaultTlsCredentialedDecryptor(BcTlsCrypto crypto, Certificate certificate, AsymmetricKeyParameter privateKey) | |
| decrypt | back to summary |
|---|---|
| public TlsSecret decrypt(TlsCryptoParameters cryptoParams, byte[] ciphertext) throws IOException Implements org. Doc from org. Decrypt the passed in cipher text using the parameters available.
| |
| getCertificate | back to summary |
|---|---|
| public Certificate getCertificate() Implements org. Doc from org. Return the certificate structure representing our identity.
| |
| safeDecryptPreMasterSecret | back to summary |
|---|---|
| protected TlsSecret safeDecryptPreMasterSecret(TlsCryptoParameters cryptoParams, RSAKeyParameters rsaServerPrivateKey, byte[] encryptedPreMasterSecret) | |