Package org.bouncycastle.crypto.tls
Class AbstractTlsSigner
- java.lang.Object
-
- org.bouncycastle.crypto.tls.AbstractTlsSigner
-
- All Implemented Interfaces:
TlsSigner
- Direct Known Subclasses:
TlsDSASigner,TlsRSASigner
public abstract class AbstractTlsSigner extends java.lang.Object implements TlsSigner
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected TlsContextcontextDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractTlsSigner()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SignercreateSigner(AsymmetricKeyParameter privateKey)Deprecated.SignercreateVerifyer(AsymmetricKeyParameter publicKey)Deprecated.byte[]generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1)Deprecated.voidinit(TlsContext context)Deprecated.booleanverifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsSigner
createSigner, createVerifyer, generateRawSignature, isValidPublicKey, verifyRawSignature
-
-
-
-
Field Detail
-
context
protected TlsContext context
Deprecated.
-
-
Method Detail
-
init
public void init(TlsContext context)
Deprecated.
-
generateRawSignature
public byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) throws CryptoException
Deprecated.- Specified by:
generateRawSignaturein interfaceTlsSigner- Throws:
CryptoException
-
verifyRawSignature
public boolean verifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1) throws CryptoExceptionDeprecated.- Specified by:
verifyRawSignaturein interfaceTlsSigner- Throws:
CryptoException
-
createSigner
public Signer createSigner(AsymmetricKeyParameter privateKey)
Deprecated.- Specified by:
createSignerin interfaceTlsSigner
-
createVerifyer
public Signer createVerifyer(AsymmetricKeyParameter publicKey)
Deprecated.- Specified by:
createVerifyerin interfaceTlsSigner
-
-