Class DefaultDigestAlgorithmIdentifierFinder
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.operator.DigestAlgorithmIdentifierFinder
public class DefaultDigestAlgorithmIdentifierFinder implements DigestAlgorithmIdentifierFinder
-
-
Constructor Summary
Constructors Constructor Description DefaultDigestAlgorithmIdentifierFinder()
-
Method Summary
Modifier and Type Method Description AlgorithmIdentifier
find(AlgorithmIdentifier sigAlgId)
Find the digest algorithm identifier that matches with the passed in signature algorithm identifier. AlgorithmIdentifier
find(ASN1ObjectIdentifier digAlgOid)
Find the algorithm identifier that matches with the passed in digest name. AlgorithmIdentifier
find(String digAlgName)
Find the algorithm identifier that matches with the passed in digest name. -
-
Method Detail
-
find
AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId)
Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.
- Parameters:
sigAlgId
- the signature algorithm of interest.- Returns:
an algorithm identifier for the corresponding digest.
-
find
AlgorithmIdentifier find(ASN1ObjectIdentifier digAlgOid)
Find the algorithm identifier that matches with the passed in digest name.
- Returns:
an algorithm identifier for the digest signature.
-
find
AlgorithmIdentifier find(String digAlgName)
Find the algorithm identifier that matches with the passed in digest name.
- Parameters:
digAlgName
- the name of the digest algorithm of interest.- Returns:
an algorithm identifier for the digest signature.
-
-
-
-