TlsCipherFactory (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.crypto.tls

## Interface TlsCipherFactory

- All Known Implementing Classes:
    AbstractTlsCipherFactory, DefaultTlsCipherFactory

      public interface TlsCipherFactory

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TlsCipher` | `createCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)` See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values

- - ### Method Detail

    - #### createCipher

          TlsCipher createCipher(TlsContext context,
                               int encryptionAlgorithm,
                               int macAlgorithm)
                                 throws java.io.IOException

      See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values
      Throws:
        `java.io.IOException`