AbstractTlsCipherFactory (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.crypto.tls

## Class AbstractTlsCipherFactory

- java.lang.Object
- - org.bouncycastle.crypto.tls.AbstractTlsCipherFactory

- All Implemented Interfaces:
    TlsCipherFactory
  Direct Known Subclasses:
    DefaultTlsCipherFactory

      public class AbstractTlsCipherFactory
      extends java.lang.Object
      implements TlsCipherFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractTlsCipherFactory()`

  - ### 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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractTlsCipherFactory

          public AbstractTlsCipherFactory()

  - ### Method Detail

    - #### createCipher

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

      Description copied from interface: `TlsCipherFactory`
      See enumeration classes EncryptionAlgorithm, MACAlgorithm for appropriate argument values
      Specified by:
        `createCipher` in interface `TlsCipherFactory`
      Throws:
        `java.io.IOException`