| Modifier and Type | Field and Description |
|---|---|
| private final JcaTlsCrypto | |
| private final PrivateKey | |
| private Signature |
| Access | Constructor and Description |
|---|---|
| public | JcaTlsRSASigner(JcaTlsCrypto crypto, PrivateKey privateKey, PublicKey publicKey)
Deprecated
Use constructor without 'publicKey' parameter.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateRawSignature(SignatureAndHashAlgorithm
the signature algorithm to use. algorithm, byte[] the hash calculated for the signature. hash)Implements org. Generate an encoded signature based on the passed in hash. |
| protected Signature | |
| public TlsStreamSigner | getStreamSigner(SignatureAndHashAlgorithm algorithm)
Implements org.
|
| protected boolean |
| crypto | back to summary |
|---|---|
| private final JcaTlsCrypto crypto | |
| privateKey | back to summary |
|---|---|
| private final PrivateKey privateKey | |
| rawSigner | back to summary |
|---|---|
| private Signature rawSigner | |
| JcaTlsRSASigner | back to summary |
|---|---|
| public JcaTlsRSASigner(JcaTlsCrypto crypto, PrivateKey privateKey, PublicKey publicKey)
Deprecated Use constructor without 'publicKey' parameter. | |
| JcaTlsRSASigner | back to summary |
|---|---|
| public JcaTlsRSASigner(JcaTlsCrypto crypto, PrivateKey privateKey) | |
| generateRawSignature | back to summary |
|---|---|
| public byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, byte[] hash) throws IOException Implements org. Doc from org. Generate an encoded signature based on the passed in hash.
| |
| getRawSigner | back to summary |
|---|---|
| protected Signature getRawSigner() throws GeneralSecurityException | |
| getStreamSigner | back to summary |
|---|---|
| public TlsStreamSigner getStreamSigner(SignatureAndHashAlgorithm algorithm) throws IOException Implements org. | |
| isSunMSCAPIRawSigner | back to summary |
|---|---|
| protected boolean isSunMSCAPIRawSigner() throws IOException | |