Package org.firebirdsql.gds.ng.wire.crypt

## Interface EncryptionPluginSpi

- All Known Implementing Classes:
    `Arc4EncryptionPluginSpi`

      public interface EncryptionPluginSpi

  Service provider interface for wire encryption plugins.

  NOTE: This plugin is currently only internal to Jaybird, consider the API as unstable.

  Since:
    4.0
  Author:
    Mark Rotteveel

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `EncryptionPlugin` | `createEncryptionPlugin​(WireConnection<?,​?> connection)` | Creates the encryption plugin for the provided connection.
    `EncryptionIdentifier` | `getEncryptionIdentifier()` |

- - ### Method Detail

    - #### getEncryptionIdentifier

          EncryptionIdentifier getEncryptionIdentifier()

      Returns:
        Encryption identifier

    - #### createEncryptionPlugin

          EncryptionPlugin createEncryptionPlugin​(WireConnection<?,​?> connection)

      Creates the encryption plugin for the provided connection.
      Parameters:
        `connection` - Connection
      Returns:
        Encryption plugin