[]
        
(Showing Draft Content)

ResourceProperties

Interface: ResourceProperties

Describes an external network resource used in PDF processing.

This structure is passed throughout the resource loading pipeline and identifies:

  • the type of resource being requested (CRL, OCSP, TSA, etc.)
  • the resolved URL used for fetching the resource

Properties

requestData?

optional requestData?: ArrayBuffer;

Optional raw request data associated with the resource fetch operation.


type

type: ResourceType;

Type of the external resource being requested. Determines how the resource should be handled (e.g., CRL, OCSP, TSA).


url

url: string;

Fully resolved URL from which the resource will be fetched.

This value may be:

  • original URL extracted from a certificate or document
  • or transformed by a user-provided resolveUrl function