Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class TlsDSASigner

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.AbstractTlsSigner
        |
        +--org.bouncycastle.crypto.tls.TlsDSASigner
All Implemented Interfaces:
TlsSigner
Direct Known Subclasses:
TlsDSSSigner, TlsECDSASigner

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

public abstract class TlsDSASigner
extends AbstractTlsSigner


Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsSigner
context
 
Constructor Summary
TlsDSASigner()
          Deprecated.  
 
Method Summary
protected abstract  DSA createDSAImpl(short hashAlgorithm)
          Deprecated.  
 Signer createSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey)
          Deprecated.  
 Signer createVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey)
          Deprecated.  
 byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash)
          Deprecated.  
protected abstract  short getSignatureAlgorithm()
          Deprecated.  
protected  CipherParameters makeInitParameters(boolean forSigning, CipherParameters cp)
          Deprecated.  
protected  Signer makeSigner(SignatureAndHashAlgorithm algorithm, boolean raw, boolean forSigning, CipherParameters cp)
          Deprecated.  
 boolean verifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash)
          Deprecated.  
 
Methods inherited from class org.bouncycastle.crypto.tls.AbstractTlsSigner
createSigner, createVerifyer, generateRawSignature, init, verifyRawSignature
 
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
isValidPublicKey
 

Constructor Detail

TlsDSASigner

public TlsDSASigner()
Deprecated. 
Method Detail

generateRawSignature

public byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm,
                                   AsymmetricKeyParameter privateKey,
                                   byte[] hash)
                            throws CryptoException
Deprecated. 

verifyRawSignature

public boolean verifyRawSignature(SignatureAndHashAlgorithm algorithm,
                                  byte[] sigBytes,
                                  AsymmetricKeyParameter publicKey,
                                  byte[] hash)
                           throws CryptoException
Deprecated. 

createSigner

public Signer createSigner(SignatureAndHashAlgorithm algorithm,
                           AsymmetricKeyParameter privateKey)
Deprecated. 

createVerifyer

public Signer createVerifyer(SignatureAndHashAlgorithm algorithm,
                             AsymmetricKeyParameter publicKey)
Deprecated. 

makeInitParameters

protected CipherParameters makeInitParameters(boolean forSigning,
                                              CipherParameters cp)
Deprecated. 

makeSigner

protected Signer makeSigner(SignatureAndHashAlgorithm algorithm,
                            boolean raw,
                            boolean forSigning,
                            CipherParameters cp)
Deprecated. 

getSignatureAlgorithm

protected abstract short getSignatureAlgorithm()
Deprecated. 

createDSAImpl

protected abstract DSA createDSAImpl(short hashAlgorithm)
Deprecated. 

Bouncy Castle Cryptography Library 1.64