Class TokenAlgorithmObsolescenceValidation<T extends eu.europa.esig.dss.diagnostic.TokenProxy>

Type Parameters:
T - TokenProxy
Direct Known Subclasses:
CertificateAlgorithmObsolescenceValidation, CertificateAndChainAlgorithmObsolescenceValidation, RevocationDataAlgorithmObsolescenceValidation, SignatureValueAndSignedAttributesAlgorithmObsolescenceValidation, TokenCertificateChainAlgorithmObsolescenceValidation

public abstract class TokenAlgorithmObsolescenceValidation<T extends eu.europa.esig.dss.diagnostic.TokenProxy> extends DigestAlgorithmObsolescenceValidation<T>
Performs cryptographic validation for a given TokenProxy, including the signature value, signed properties and certificate chain validation, when applicable
  • Constructor Details

    • TokenAlgorithmObsolescenceValidation

      protected TokenAlgorithmObsolescenceValidation(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T token, eu.europa.esig.dss.enumerations.Context context, Date validationDate, eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicy)
      Common constructor
      Parameters:
      i18nProvider - the access to translations
      token - instance of AbstractTokenProxy to be processed
      context - Context validation context
      validationDate - Date validation time
      validationPolicy - ValidationPolicy to be used during the validation
  • Method Details

    • buildChain

      protected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlAOV> buildChain()
      Description copied from class: AlgorithmObsolescenceValidation
      Builds a chain of checks to be executed during the process
      Specified by:
      buildChain in class AlgorithmObsolescenceValidation<T extends eu.europa.esig.dss.diagnostic.TokenProxy>
      Returns:
      ChainItem
    • buildSignatureValidationChain

      protected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlAOV> buildSignatureValidationChain(ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlAOV> item)
      Builds a chain of crypto checks to be executed on a signature
      Parameters:
      item - ChainItem to chain new checks to
      Returns:
      ChainItem
    • buildCertificateChainValidationChain

      protected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlAOV> buildCertificateChainValidationChain(ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlAOV> item, eu.europa.esig.dss.diagnostic.CertificateWrapper signingCertificate, List<eu.europa.esig.dss.diagnostic.CertificateWrapper> certificateChain)
      Builds a chain of crypto checks to be executed on a signature's certificate chain
      Parameters:
      item - ChainItem to chain new checks to
      signingCertificate - CertificateWrapper end-entity certificate of the certificate chain
      certificateChain - a list of CertificateWrapper representing the certificate chain
      Returns:
      ChainItem