Interface Algorithm

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getJcaName()
      Gets the JCA (Java Cryptography Architecture) name.
      int getOrder()
      Gets the order for an algorithm where a lower order is seen as more preferable than an algorithm with a higher ordering.
      AlgorithmType getType()
      Gets the algorithm type.
      String getUri()
      Gets the URI representation of the algorithm.
      boolean isBlacklisted()
      Tells whether this algorithm is black-listed, i.e., configured to not be allowed.
    • Method Detail

      • getUri

        String getUri()
        Gets the URI representation of the algorithm.
        Returns:
        the URI
      • getType

        AlgorithmType getType()
        Gets the algorithm type.
        Returns:
        the type
      • getJcaName

        String getJcaName()
        Gets the JCA (Java Cryptography Architecture) name.
        Returns:
        the JCA name
      • getOrder

        int getOrder()
        Gets the order for an algorithm where a lower order is seen as more preferable than an algorithm with a higher ordering. The ordering is relative to algorithms of the same type, and also other critera such as key or key length material.
        Returns:
        a positive integer
      • isBlacklisted

        boolean isBlacklisted()
        Tells whether this algorithm is black-listed, i.e., configured to not be allowed.
        Returns:
        true if the algorithm is black-listed and false otherwise