Interface DigestAlgorithmIdentifierFinder

All Known Implementing Classes:
DefaultDigestAlgorithmIdentifierFinder

public interface DigestAlgorithmIdentifierFinder
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
    find(String digAlgName)
    Find the algorithm identifier that matches with the passed in digest name.
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
    find(org.bouncycastle.asn1.ASN1ObjectIdentifier digestOid)
    Find the algorithm identifier that matches with the passed in digest OID.
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
    find(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
    Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.
  • Method Details

    • find

      org.bouncycastle.asn1.x509.AlgorithmIdentifier find(org.bouncycastle.asn1.x509.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

      org.bouncycastle.asn1.x509.AlgorithmIdentifier find(org.bouncycastle.asn1.ASN1ObjectIdentifier digestOid)
      Find the algorithm identifier that matches with the passed in digest OID.
      Parameters:
      digestOid - the OID of the digest algorithm of interest.
      Returns:
      an algorithm identifier for the digest signature.
    • find

      org.bouncycastle.asn1.x509.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.