Builds signed test responses for Relyra.Testing.
This module is production-compiled so Hex adopters can use the public testing
fixture helpers from their own test suites. It creates a fresh RSA key for
each signed test response, returns the matching test certificate, and
canonicalizes through Relyra's real verifier path (SaxyTree, PureBeam, and
C14N). It is test-only fixture machinery, not an IdP, broker, or production
trust source.
Summary
Types
A signed test response and the matching test certificate chain.
Functions
Builds a signed test response with real digest and signature values.
Rewrites the signed assertion NameID after signing and raises if no mutation landed.
Types
Functions
@spec signed_response(keyword()) :: signed_response()
Builds a signed test response with real digest and signature values.
The returned XML contains no KeyInfo; callers must thread the returned
cert_chain into Relyra.consume_response/3 through explicit fixture data.
Rewrites the signed assertion NameID after signing and raises if no mutation landed.