Class DefaultDigestAlgorithmIdentifierFinder

java.lang.Object
org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
All Implemented Interfaces:
DigestAlgorithmIdentifierFinder

public class DefaultDigestAlgorithmIdentifierFinder extends Object implements DigestAlgorithmIdentifierFinder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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 digAlgOid)
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultDigestAlgorithmIdentifierFinder

      public DefaultDigestAlgorithmIdentifierFinder()
  • Method Details

    • find

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier find(org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId)
      Description copied from interface: DigestAlgorithmIdentifierFinder
      Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.
      Specified by:
      find in interface DigestAlgorithmIdentifierFinder
      Parameters:
      sigAlgId - the signature algorithm of interest.
      Returns:
      an algorithm identifier for the corresponding digest.
    • find

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier find(org.bouncycastle.asn1.ASN1ObjectIdentifier digAlgOid)
      Description copied from interface: DigestAlgorithmIdentifierFinder
      Find the algorithm identifier that matches with the passed in digest OID.
      Specified by:
      find in interface DigestAlgorithmIdentifierFinder
      Parameters:
      digAlgOid - the OID of the digest algorithm of interest.
      Returns:
      an algorithm identifier for the digest signature.
    • find

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier find(String digAlgName)
      Description copied from interface: DigestAlgorithmIdentifierFinder
      Find the algorithm identifier that matches with the passed in digest name.
      Specified by:
      find in interface DigestAlgorithmIdentifierFinder
      Parameters:
      digAlgName - the name of the digest algorithm of interest.
      Returns:
      an algorithm identifier for the digest signature.