Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Interface TlsSigner

All Known Implementing Classes:
AbstractTlsSigner

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

public interface TlsSigner


Method Summary
 Signer createSigner(AsymmetricKeyParameter privateKey)
          Deprecated.  
 Signer createSigner(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey)
          Deprecated.  
 Signer createVerifyer(AsymmetricKeyParameter publicKey)
          Deprecated.  
 Signer createVerifyer(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter publicKey)
          Deprecated.  
 byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1)
          Deprecated.  
 byte[] generateRawSignature(SignatureAndHashAlgorithm algorithm, AsymmetricKeyParameter privateKey, byte[] hash)
          Deprecated.  
 void init(TlsContext context)
          Deprecated.  
 boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
          Deprecated.  
 boolean verifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1)
          Deprecated.  
 boolean verifyRawSignature(SignatureAndHashAlgorithm algorithm, byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] hash)
          Deprecated.  
 

Method Detail

init

public void init(TlsContext context)
Deprecated. 

generateRawSignature

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

generateRawSignature

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

verifyRawSignature

public boolean verifyRawSignature(byte[] sigBytes,
                                  AsymmetricKeyParameter publicKey,
                                  byte[] md5AndSha1)
                           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(AsymmetricKeyParameter privateKey)
Deprecated. 

createSigner

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

createVerifyer

public Signer createVerifyer(AsymmetricKeyParameter publicKey)
Deprecated. 

createVerifyer

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

isValidPublicKey

public boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
Deprecated. 

Bouncy Castle Cryptography Library 1.64