Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class TlsRSASigner

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsSigner
      extended byorg.bouncycastle.crypto.tls.TlsRSASigner
All Implemented Interfaces:
TlsSigner

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

public class TlsRSASigner
extends AbstractTlsSigner


Field Summary
 
Fields inherited from class org.bouncycastle.crypto.tls.AbstractTlsSigner
context
 
Constructor Summary
TlsRSASigner()
          Deprecated.  
 
Method Summary
protected  AsymmetricBlockCipher createRSAImpl()
          Deprecated.  
 Signer createSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey)
          Deprecated.  
 Signer createVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey)
          Deprecated.  
 byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash)
          Deprecated.  
 boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
          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
 

Constructor Detail

TlsRSASigner

public TlsRSASigner()
Deprecated. 
Method Detail

generateRawSignature

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

verifyRawSignature

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

createSigner

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

createVerifyer

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

isValidPublicKey

public boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
Deprecated. 

makeSigner

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

createRSAImpl

protected AsymmetricBlockCipher createRSAImpl()
Deprecated. 

Bouncy Castle Cryptography Library 1.64