Skip to main content

Module hash

Module hash 

Source
Expand description

Utilities for calculating Representation Independent Hashes of HttpRequest and HttpResponse objects.

Structs§

ResponseHeaders
Representation of response headers filtered by filter_response_headers.

Constants§

CERTIFICATE_EXPRESSION_HEADER_NAME
The name of the IC-CertificateExpression header.
CERTIFICATE_HEADER_NAME
The name of the IC-Certificate header.

Functions§

filter_response_headers
Filters the headers of an HttpResponse according to a CEL expression defined by DefaultResponseCertification.
request_hash
Calculates the Representation Independent Hash of an HttpRequest according to a CEL expression defined by DefaultRequestCertification.
response_hash
Calculates the Representation Independent Hash of an HttpResponse according to a CEL expression defined by DefaultResponseCertification.
response_headers_hash
Calculates the Representation Independent Hash of ResponseHeaders that have been filtered with filter_response_headers.

Type Aliases§

Hash
Sha256 Digest: 32 bytes