TlsCipherFactory (Bouncy Castle Library 1.52 API Specification)

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`