Class AbstractAcceptanceValidation<T extends AbstractTokenProxy>

java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlSAV>
eu.europa.esig.dss.validation.process.bbb.sav.AbstractAcceptanceValidation<T>
Type Parameters:
T - validation token wrapper
Direct Known Subclasses:
CertificateAcceptanceValidation, RevocationAcceptanceValidation, SignatureAcceptanceValidation, TimestampAcceptanceValidation

public abstract class AbstractAcceptanceValidation<T extends AbstractTokenProxy> extends Chain<XmlSAV>
5.2.8 Signature acceptance validation (SAV) This building block covers any additional verification to be performed on the signature itself or on the attributes of the signature ETSI EN 319 132-1
  • Field Details

    • token

      protected final T extends AbstractTokenProxy token
      The token to be validated
    • currentTime

      protected final Date currentTime
      The validation time
    • context

      protected final Context context
      The validation context
    • validationPolicy

      protected final ValidationPolicy validationPolicy
      The validation policy
  • Constructor Details

  • Method Details

    • signingCertificateAttributePresent

      protected ChainItem<XmlSAV> signingCertificateAttributePresent()
      Checks whether a signing-certificate signed attribute is present
      Returns:
      ChainItem
    • unicitySigningCertificateAttribute

      protected ChainItem<XmlSAV> unicitySigningCertificateAttribute()
      Checks if only one signing-certificate signed attribute is present
      Returns:
      ChainItem
    • signingCertificateReferencesValidity

      protected ChainItem<XmlSAV> signingCertificateReferencesValidity()
      Checks whether a signing-certificate signed attribute is valid to the determined signing certificate
      Returns:
      ChainItem
    • allCertificatesInPathReferenced

      protected ChainItem<XmlSAV> allCertificatesInPathReferenced()
      Checks if all certificates in a signing certificate chain are references within signing-certificate signed attribute
      Returns:
      ChainItem
    • cryptographic

      protected ChainItem<XmlSAV> cryptographic(ChainItem<XmlSAV> item)
      Verifies cryptographic validity of signature references and signing-certificate signed attribute
      Parameters:
      item - ChainItem the last initialized chain item to be processed
      Returns:
      ChainItem
    • cryptographicSignedAttributes

      protected ChainItem<XmlSAV> cryptographicSignedAttributes(ChainItem<XmlSAV> item)
      This method verifies the validity of the used cryptographic constraints for signed-attributes
      Parameters:
      item - ChainItem the last initialized chain item to be processed
      Returns:
      ChainItem
    • addAdditionalInfo

      protected void addAdditionalInfo()
      Description copied from class: Chain
      Adds additional info to the chain
      Overrides:
      addAdditionalInfo in class Chain<XmlSAV>