Package org.bouncycastle.operator
Class DefaultAlgorithmNameFinder
- java.lang.Object
 - 
- org.bouncycastle.operator.DefaultAlgorithmNameFinder
 
 
- 
- All Implemented Interfaces:
 AlgorithmNameFinder
public class DefaultAlgorithmNameFinder extends java.lang.Object implements AlgorithmNameFinder
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultAlgorithmNameFinder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)Return a string representation of the passed in objectIdentifier.java.lang.StringgetAlgorithmName(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)Return a string representation of the passed in AlgorithmIdentifier, based on the OID in the AlgorithmField, with the parameters included where appropriate.booleanhasAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)Return true if the passed in objectIdentifier has a "human friendly" name associated with it. 
 - 
 
- 
- 
Method Detail
- 
hasAlgorithmName
public boolean hasAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
Description copied from interface:AlgorithmNameFinderReturn true if the passed in objectIdentifier has a "human friendly" name associated with it.- Specified by:
 hasAlgorithmNamein interfaceAlgorithmNameFinder- Parameters:
 objectIdentifier- the OID of interest.- Returns:
 - true if a name lookup exists for the OID, false otherwise.
 
 
- 
getAlgorithmName
public java.lang.String getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
Description copied from interface:AlgorithmNameFinderReturn a string representation of the passed in objectIdentifier.- Specified by:
 getAlgorithmNamein interfaceAlgorithmNameFinder- Parameters:
 objectIdentifier- the OID of interest.- Returns:
 - a "human friendly" representation of the OID, the OID as a string if none available.
 
 
- 
getAlgorithmName
public java.lang.String getAlgorithmName(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
Description copied from interface:AlgorithmNameFinderReturn a string representation of the passed in AlgorithmIdentifier, based on the OID in the AlgorithmField, with the parameters included where appropriate.- Specified by:
 getAlgorithmNamein interfaceAlgorithmNameFinder- Parameters:
 algorithmIdentifier- the AlgorithmIdentifier of interest.- Returns:
 - a "human friendly" representation of the algorithmIdentifier, the identifiers OID as a string if none available.
 
 
 - 
 
 -