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.
|
java.util.Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> |
getOIDSet() |
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)
AlgorithmNameFinder
hasAlgorithmName
in interface AlgorithmNameFinder
objectIdentifier
- the OID of interest.public java.lang.String getAlgorithmName(org.bouncycastle.asn1.ASN1ObjectIdentifier objectIdentifier)
AlgorithmNameFinder
getAlgorithmName
in interface AlgorithmNameFinder
objectIdentifier
- the OID of interest.public java.lang.String getAlgorithmName(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
AlgorithmNameFinder
getAlgorithmName
in interface AlgorithmNameFinder
algorithmIdentifier
- the AlgorithmIdentifier of interest.public java.util.Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> getOIDSet()