Class AbstractAlgorithmCryptographicChecker

java.lang.Object
eu.europa.esig.dss.validation.process.Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
eu.europa.esig.dss.validation.process.bbb.aov.cc.AbstractAlgorithmCryptographicChecker
Direct Known Subclasses:
DigestAlgorithmCryptographicChecker, SignatureAlgorithmCryptographicChecker

public abstract class AbstractAlgorithmCryptographicChecker extends Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
Abstract class to perform cryptographic validation
  • Field Details

    • ALGORITHM_UNIDENTIFIED

      protected static final String ALGORITHM_UNIDENTIFIED
      The name string for a unidentified (unsupported) algorithm
      See Also:
    • ALGORITHM_UNIDENTIFIED_URN

      protected static final String ALGORITHM_UNIDENTIFIED_URN
      The urn for a not identified (unsupported) algorithm
      See Also:
    • validationDate

      protected final Date validationDate
      The validation time
    • cryptographicSuite

      protected final eu.europa.esig.dss.model.policy.CryptographicSuite cryptographicSuite
      Cryptographic constraint
    • position

      protected final eu.europa.esig.dss.i18n.MessageTag position
      The validation constraint position
    • cryptographicAlgorithm

      protected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithm cryptographicAlgorithm
      The verified cryptographic algorithm
  • Constructor Details

    • AbstractAlgorithmCryptographicChecker

      protected AbstractAlgorithmCryptographicChecker(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, Date validationDate, eu.europa.esig.dss.i18n.MessageTag position, eu.europa.esig.dss.model.policy.CryptographicSuite cryptographicSuite)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      validationDate - Date
      position - MessageTag
      cryptographicSuite - CryptographicSuite
  • Method Details

    • getTitle

      protected eu.europa.esig.dss.i18n.MessageTag getTitle()
      Description copied from class: Chain
      Returns title of a Chain (i.e. BasicBuildingBlock title)
      Overrides:
      getTitle in class Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
      Returns:
      MessageTag
    • addAdditionalInfo

      protected void addAdditionalInfo()
      Description copied from class: Chain
      Adds additional info to the chain
      Overrides:
      addAdditionalInfo in class Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
    • getCryptographicValidation

      protected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicValidation getCryptographicValidation()
      Builds a XmlCryptographicValidation information
      Returns:
      XmlCryptographicValidation
    • getAlgorithm

      protected abstract eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithm getAlgorithm()
      Builds and returns the validated algorithm
      Returns:
      XmlCryptographicAlgorithm
    • getNotAfter

      protected abstract Date getNotAfter()
      Returns time after which the used cryptographic algorithm(s) is no longer considered secure
      Returns:
      Date