Class EncryptionIdentifier


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String TYPE_SYMMETRIC  
    • Constructor Summary

      Constructors 
      Constructor Description
      EncryptionIdentifier​(java.lang.String type, java.lang.String pluginName)  
    • Constructor Detail

      • EncryptionIdentifier

        public EncryptionIdentifier​(java.lang.String type,
                                    java.lang.String pluginName)
    • Method Detail

      • getType

        public java.lang.String getType()
        Type of encryption.

        For example: "Symmetric".

        Returns:
        Encryption type
      • getPluginName

        public java.lang.String getPluginName()
        Name of the plugin (or cipher).

        For example: "Arc4".

        Returns:
        Name of the plugin
      • isTypeSymmetric

        public boolean isTypeSymmetric()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object