Class EncryptionIdentifier

java.lang.Object
org.firebirdsql.gds.ng.wire.crypt.EncryptionIdentifier

public final class EncryptionIdentifier extends Object
Identifier of an encryption type + plugin.
Since:
4.0
Author:
Mark Rotteveel
  • Field Details

  • Constructor Details

    • EncryptionIdentifier

      public EncryptionIdentifier(String type, String pluginName)
  • Method Details

    • type

      public String type()
      Type of encryption.

      For example: "Symmetric".

      Returns:
      Encryption type
    • pluginName

      public String pluginName()
      Name of the plugin (or cipher).

      For example: "Arc4".

      Returns:
      Name of the plugin
    • isTypeSymmetric

      public boolean isTypeSymmetric()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object