Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class AbstractTlsSigner

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsSigner
All Implemented Interfaces:
TlsSigner
Direct Known Subclasses:
TlsDSASigner, TlsRSASigner

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public abstract class AbstractTlsSigner
extends java.lang.Object
implements TlsSigner


Field Summary
protected  TlsContext context
          Deprecated.  
 
Constructor Summary
AbstractTlsSigner()
          Deprecated.  
 
Method Summary
 Signer createSigner(AsymmetricKeyParameter privateKey)
          Deprecated.  
 Signer createVerifyer(AsymmetricKeyParameter publicKey)
          Deprecated.  
 byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1)
          Deprecated.  
 void init(TlsContext context)
          Deprecated.  
 boolean verifyRawSignature(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. 
Constructor Detail

AbstractTlsSigner

public AbstractTlsSigner()
Deprecated. 
Method Detail

init

public void init(TlsContext context)
Deprecated. 
Specified by:
init in interface TlsSigner

generateRawSignature

public byte[] generateRawSignature(AsymmetricKeyParameter privateKey,
                                   byte[] md5AndSha1)
                            throws CryptoException
Deprecated. 
Specified by:
generateRawSignature in interface TlsSigner
Throws:
CryptoException

verifyRawSignature

public boolean verifyRawSignature(byte[] sigBytes,
                                  AsymmetricKeyParameter publicKey,
                                  byte[] md5AndSha1)
                           throws CryptoException
Deprecated. 
Specified by:
verifyRawSignature in interface TlsSigner
Throws:
CryptoException

createSigner

public Signer createSigner(AsymmetricKeyParameter privateKey)
Deprecated. 
Specified by:
createSigner in interface TlsSigner

createVerifyer

public Signer createVerifyer(AsymmetricKeyParameter publicKey)
Deprecated. 
Specified by:
createVerifyer in interface TlsSigner

Bouncy Castle Cryptography Library 1.64