public class DefaultAlgorithmNameFinder extends Object implements AlgorithmNameFinder
Constructor and Description |
---|
DefaultAlgorithmNameFinder() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
Return a string representation of the passed in objectIdentifier.
|
boolean |
hasAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
Return true if the passed in objectIdentifier has a "human friendly" name associated with it.
|
public boolean hasAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
AlgorithmNameFinder
hasAlgorithmName
in interface AlgorithmNameFinder
objectIdentifier
- the OID of interest.public String getAlgorithmName(ASN1ObjectIdentifier objectIdentifier)
AlgorithmNameFinder
getAlgorithmName
in interface AlgorithmNameFinder
objectIdentifier
- the OID of interest.public String getAlgorithmName(AlgorithmIdentifier algorithmIdentifier)
AlgorithmNameFinder
getAlgorithmName
in interface AlgorithmNameFinder
algorithmIdentifier
- the AlgorithmIdentifier of interest.Copyright © 2018 BouncyCastle.org. All rights reserved.