Skip to content

Releases: Visma-AutoPay/http-signatures

1.3.1

08 May 14:43
Compare
Choose a tag to compare

Implemented specifications

Changes

  • Links in README and Javadoc updated to point to RFC documents instead of the drafts

1.3.0

09 Jan 09:02
Compare
Choose a tag to compare

Implemented specifications

Changes

  • Added support for HttpServletRequest and HttpServletResponse when creating Signature context:
    • targetUri(servletRequest.getRequestURL(), servletRequest.getQueryString())
    • headers(servletRequest.getHeaderNames(), servletRequest::getHeaders)
    • headers(servletResponse.getHeaderNames(), servletResponse::getHeaders)

1.2.0

25 Sep 11:57
Compare
Choose a tag to compare

Implemented specifications

Changes

  • Implemented support for trailer fields and related tr signature parameter. See Trailer Fields.
  • Changed encoding of path and query
    • Percent-encoded octets are not decoded for @target-uri, @path, @request-target and @query components. See Path and Query.
    • Percent-encoded octets in @query-param are re-encoded. See Query Parameters.
  • Exception is thrown for unknown or "illegal" component parameters when verifying signature. For example, foo parameter for any component or key for @query will trigger an exception.
  • "Canonicalized Structured HTTP Fields" term changed to "Strict Serialization of HTTP Structured Fields"
    • SignatureComponents.Builder.structuredHeader() method renamed to structuredHeader()
    • SignatureComponents.Builder.relatedRequestCanonicalizedHeader() method renamed to relatedRequestStructuredHeader()

1.1.0

20 Oct 06:43
Compare
Choose a tag to compare

Implemented specifications

Changes

1.0.0

29 Jul 12:32
Compare
Choose a tag to compare