Top Methods
org.bouncycastle.operator

public Interface DigestAlgorithmIdentifierFinder

Known Direct Implementers
org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier

Returns:

an algorithm identifier for the corresponding digest.
find
(AlgorithmIdentifier
the signature algorithm of interest.
sigAlgId
)

Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.

public AlgorithmIdentifier

Returns:

an algorithm identifier for the digest signature.
find
(ASN1ObjectIdentifier
the name of the digest algorithm of interest.
digestOid
)

Find the algorithm identifier that matches with the passed in digest name.

public AlgorithmIdentifier

Returns:

an algorithm identifier for the digest signature.
find
(String
the name of the digest algorithm of interest.
digAlgName
)

Find the algorithm identifier that matches with the passed in digest name.

Method Detail

findback to summary
public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId)

Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.

Parameters
sigAlgId:AlgorithmIdentifier

the signature algorithm of interest.

Returns:AlgorithmIdentifier

an algorithm identifier for the corresponding digest.

findback to summary
public AlgorithmIdentifier find(ASN1ObjectIdentifier digestOid)

Find the algorithm identifier that matches with the passed in digest name.

Parameters
digestOid:ASN1ObjectIdentifier

the name of the digest algorithm of interest.

Returns:AlgorithmIdentifier

an algorithm identifier for the digest signature.

findback to summary
public AlgorithmIdentifier find(String digAlgName)

Find the algorithm identifier that matches with the passed in digest name.

Parameters
digAlgName:String

the name of the digest algorithm of interest.

Returns:AlgorithmIdentifier

an algorithm identifier for the digest signature.