Package org.bouncycastle.crypto.tls
Class DefaultTlsSignerCredentials
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsCredentials
-
- org.bouncycastle.crypto.tls.AbstractTlsSignerCredentials
-
- org.bouncycastle.crypto.tls.DefaultTlsSignerCredentials
-
- All Implemented Interfaces:
TlsCredentials,TlsSignerCredentials
public class DefaultTlsSignerCredentials extends AbstractTlsSignerCredentials
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificatecertificateDeprecated.protected TlsContextcontextDeprecated.protected AsymmetricKeyParameterprivateKeyDeprecated.protected SignatureAndHashAlgorithmsignatureAndHashAlgorithmDeprecated.protected TlsSignersignerDeprecated.
-
Constructor Summary
Constructors Constructor Description DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey)Deprecated.DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey, SignatureAndHashAlgorithm signatureAndHashAlgorithm)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]generateCertificateSignature(byte[] hash)Deprecated.CertificategetCertificate()Deprecated.SignatureAndHashAlgorithmgetSignatureAndHashAlgorithm()Deprecated.
-
-
-
Field Detail
-
context
protected TlsContext context
Deprecated.
-
certificate
protected Certificate certificate
Deprecated.
-
privateKey
protected AsymmetricKeyParameter privateKey
Deprecated.
-
signatureAndHashAlgorithm
protected SignatureAndHashAlgorithm signatureAndHashAlgorithm
Deprecated.
-
signer
protected TlsSigner signer
Deprecated.
-
-
Constructor Detail
-
DefaultTlsSignerCredentials
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey)
Deprecated.
-
DefaultTlsSignerCredentials
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey, SignatureAndHashAlgorithm signatureAndHashAlgorithm)
Deprecated.
-
-
Method Detail
-
getCertificate
public Certificate getCertificate()
Deprecated.
-
generateCertificateSignature
public byte[] generateCertificateSignature(byte[] hash) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
getSignatureAndHashAlgorithm
public SignatureAndHashAlgorithm getSignatureAndHashAlgorithm()
Deprecated.- Specified by:
getSignatureAndHashAlgorithmin interfaceTlsSignerCredentials- Overrides:
getSignatureAndHashAlgorithmin classAbstractTlsSignerCredentials
-
-