public class DefaultTlsSignerCredentials extends AbstractTlsSignerCredentials
| Modifier and Type | Field and Description | 
|---|---|
protected Certificate | 
certificate  | 
protected TlsContext | 
context  | 
protected AsymmetricKeyParameter | 
privateKey  | 
protected SignatureAndHashAlgorithm | 
signatureAndHashAlgorithm  | 
protected TlsSigner | 
signer  | 
| Constructor and Description | 
|---|
DefaultTlsSignerCredentials(TlsContext context,
                           Certificate certificate,
                           AsymmetricKeyParameter privateKey)  | 
DefaultTlsSignerCredentials(TlsContext context,
                           Certificate certificate,
                           AsymmetricKeyParameter privateKey,
                           SignatureAndHashAlgorithm signatureAndHashAlgorithm)  | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
generateCertificateSignature(byte[] hash)  | 
Certificate | 
getCertificate()  | 
SignatureAndHashAlgorithm | 
getSignatureAndHashAlgorithm()  | 
protected TlsContext context
protected Certificate certificate
protected AsymmetricKeyParameter privateKey
protected SignatureAndHashAlgorithm signatureAndHashAlgorithm
protected TlsSigner signer
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey)
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey, SignatureAndHashAlgorithm signatureAndHashAlgorithm)
public Certificate getCertificate()
public byte[] generateCertificateSignature(byte[] hash)
                                    throws java.io.IOException
java.io.IOExceptionpublic SignatureAndHashAlgorithm getSignatureAndHashAlgorithm()
getSignatureAndHashAlgorithm in interface TlsSignerCredentialsgetSignatureAndHashAlgorithm in class AbstractTlsSignerCredentials