Interface AlgorithmNameFinder

  • All Implemented Interfaces:

    
    public interface AlgorithmNameFinder
    
                        

    General finder for converting OIDs and AlgorithmIdentifiers into strings.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean hasAlgorithmName(ASN1ObjectIdentifier objectIdentifier) Return true if the passed in objectIdentifier has a "human friendly" name associated with it.
      abstract String getAlgorithmName(ASN1ObjectIdentifier objectIdentifier) Return a string representation of the passed in objectIdentifier.
      abstract String getAlgorithmName(AlgorithmIdentifier algorithmIdentifier) Return a string representation of the passed in AlgorithmIdentifier, based on the OID in the AlgorithmField, with the parameters included where appropriate.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • hasAlgorithmName

         abstract boolean hasAlgorithmName(ASN1ObjectIdentifier objectIdentifier)

        Return true if the passed in objectIdentifier has a "human friendly" name associated with it.

        Parameters:
        objectIdentifier - the OID of interest.
        Returns:

        true if a name lookup exists for the OID, false otherwise.

      • getAlgorithmName

         abstract String getAlgorithmName(ASN1ObjectIdentifier objectIdentifier)

        Return a string representation of the passed in objectIdentifier.

        Parameters:
        objectIdentifier - the OID of interest.
        Returns:

        a "human friendly" representation of the OID, the OID as a string if none available.

      • getAlgorithmName

         abstract String getAlgorithmName(AlgorithmIdentifier algorithmIdentifier)

        Return a string representation of the passed in AlgorithmIdentifier, based on the OID in the AlgorithmField, with the parameters included where appropriate.

        Parameters:
        algorithmIdentifier - the AlgorithmIdentifier of interest.
        Returns:

        a "human friendly" representation of the algorithmIdentifier, the identifiers OID as a string if none available.