All Classes and Interfaces
Class
Description
Shared constants used throughout the CSP parser.
Enforcement query API shared by
Policy and PolicyList.Convenience wrapper that pairs a
CspQueries target with an
origin, supplying simplified query methods that
fill in the origin and leave unused parameters empty.Base class for all CSP directive representations.
A callback interface for receiving errors and warnings encountered while
parsing a single directive's values.
Enumerates the CSP fetch directive names and provides their fallback chains.
Represents the
frame-ancestors CSP directive.Represents an opaque (non-hierarchical) URL that has a scheme and an opaque value
but no host or port, e.g.
Represents a CSP hash-source value, e.g.
Enumerates the hash algorithms supported by CSP hash-sources.
Represents a CSP host-source value, e.g.
Abstract base class for directives whose values are host-source lists.
Represents a media type (MIME type) value used by the (deprecated)
plugin-types CSP directive, e.g.Represents a CSP nonce-source value, e.g.
Represents the (deprecated)
plugin-types CSP directive.Represents a single parsed Content Security Policy.
A callback interface for receiving errors and warnings encountered while
parsing a single serialized CSP.
A callback interface for receiving errors and warnings encountered while
parsing a serialized CSP list (comma-separated policies).
The severity level of a parsing error or warning.
Represents a list of Content Security Policies parsed from a comma-separated
serialized CSP list, or combined from multiple header / meta deliveries.
A convenience wrapper that pairs a
PolicyList with its
origin.Represents the (deprecated)
report-uri CSP directive.Represents the
require-trusted-types-for CSP directive.Represents an RFC 7230 token value, used as the value of the
report-to CSP directive.Represents the
sandbox CSP directive.Represents a CSP scheme-source value, e.g.
Represents a CSP directive whose values form a
source-expression list.
Represents the
trusted-types CSP directive.Represents a hierarchical URI with scheme, host, port, and path components.
Abstract base class representing a URL that has at least a scheme component.
Internal utility methods and constants used by the CSP parser.