Class PAdESOCSPSource

All Implemented Interfaces:
OCSPSource, RevocationSource<OCSPToken>, SignatureRevocationSource<OCSPToken>, Serializable

public class PAdESOCSPSource
extends SignatureOCSPSource
OCSPSource that retrieves the OCSPResp from a PAdES Signature
See Also:
Serialized Form
  • Constructor Details

    • PAdESOCSPSource

      public PAdESOCSPSource​(PdfDssDict dssDictionary, String vriDictionaryName, org.bouncycastle.asn1.cms.AttributeTable signedAttributes)
  • Method Details

    • appendContainedOCSPResponses

      public void appendContainedOCSPResponses()
      Description copied from class: OfflineOCSPSource
      Retrieves the map of BasicOCSPResp/RevocationOrigin contained in the source and appends result entries to ocspResponses.
      Specified by:
      appendContainedOCSPResponses in class OfflineOCSPSource
    • getOcspMap

      public Map<Long,​org.bouncycastle.cert.ocsp.BasicOCSPResp> getOcspMap()
      Returns a map of all OCSP entries contained in DSS dictionary or into nested VRI dictionaries
      Returns:
      a map of BasicOCSPResp with their object ids