Class DefaultAlgorithmNameFinder

java.lang.Object
org.bouncycastle.operator.DefaultAlgorithmNameFinder
All Implemented Interfaces:
AlgorithmNameFinder

public class DefaultAlgorithmNameFinder extends Object implements AlgorithmNameFinder
  • Constructor Details

    • DefaultAlgorithmNameFinder

      public DefaultAlgorithmNameFinder()
  • Method Details

    • hasAlgorithmName

      public boolean hasAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
      Description copied from interface: AlgorithmNameFinder
      Return true if the passed in objectIdentifier has a "human friendly" name associated with it.
      Specified by:
      hasAlgorithmName in interface AlgorithmNameFinder
      Parameters:
      objectIdentifier - the OID of interest.
      Returns:
      true if a name lookup exists for the OID, false otherwise.
    • getAlgorithmName

      public String getAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
      Description copied from interface: AlgorithmNameFinder
      Return a string representation of the passed in objectIdentifier.
      Specified by:
      getAlgorithmName in interface AlgorithmNameFinder
      Parameters:
      objectIdentifier - the OID of interest.
      Returns:
      a "human friendly" representation of the OID, the OID as a string if none available.
    • getAlgorithmName

      public String getAlgorithmName(AlgorithmIdentifier algorithmIdentifier)
      Description copied from interface: AlgorithmNameFinder
      Return a string representation of the passed in AlgorithmIdentifier, based on the OID in the AlgorithmField, with the parameters included where appropriate.
      Specified by:
      getAlgorithmName in interface AlgorithmNameFinder
      Parameters:
      algorithmIdentifier - the AlgorithmIdentifier of interest.
      Returns:
      a "human friendly" representation of the algorithmIdentifier, the identifiers OID as a string if none available.
    • getOIDSet

      public Set<ASN1ObjectIdentifier> getOIDSet()