public class DefaultAlgorithmNameFinder extends java.lang.Object implements AlgorithmNameFinder
| Constructor and Description |
|---|
DefaultAlgorithmNameFinder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName(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.
|
java.lang.String |
getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
Return a string representation of the passed in objectIdentifier.
|
boolean |
hasAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
Return true if the passed in objectIdentifier has a "human friendly" name associated with it.
|
public boolean hasAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
AlgorithmNameFinderhasAlgorithmName in interface AlgorithmNameFinderobjectIdentifier - the OID of interest.public java.lang.String getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
AlgorithmNameFindergetAlgorithmName in interface AlgorithmNameFinderobjectIdentifier - the OID of interest.public java.lang.String getAlgorithmName(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
AlgorithmNameFindergetAlgorithmName in interface AlgorithmNameFinderalgorithmIdentifier - the AlgorithmIdentifier of interest.