Class CMSOCSPSource

All Implemented Interfaces:
MultipleRevocationSource<OCSP>, RevocationSource<OCSP>, Serializable
Direct Known Subclasses:
CAdESOCSPSource, TimestampOCSPSource

public abstract class CMSOCSPSource extends OfflineOCSPSource
OCSPSource that retrieves information from a CMSSignedData container.
See Also:
  • Field Details

    • unsignedAttributes

      protected final transient org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes
      Represents unsigned properties
  • Constructor Details

    • CMSOCSPSource

      @Deprecated protected CMSOCSPSource(org.bouncycastle.cms.CMSSignedData cms, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)
      Deprecated.
      since DSS 6.3. Please use new CMSOCSPSource(Store<?> ocspResponsesStore, Store<?> ocspBasicStore, AttributeTable unsignedAttributes) constructor instead.
      The default constructor for CAdESOCSPSource.
      Parameters:
      cms - CMSSignedData
      unsignedAttributes - AttributeTable unsignedAttributes
    • CMSOCSPSource

      protected CMSOCSPSource(org.bouncycastle.util.Store<?> ocspResponsesStore, org.bouncycastle.util.Store<?> ocspBasicStore, org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes)
      The default constructor for CAdESOCSPSource.
      Parameters:
      ocspResponsesStore - Store of OCSP responses
      ocspBasicStore - Store of OCSP basic responses
      unsignedAttributes - AttributeTable of the corresponding signer