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