MCPcopy Create free account
hub / github.com/crewjam/saml / SimpleSign

Method SimpleSign

simplesign_binding.go:467–469  ·  view source on GitHub ↗

SimpleSign returns an auto-submitting HTML form that sends the response to its Destination with the HTTP-POST-SimpleSign binding, signed with sp's Key and SignatureMethod, which must be set. An XML signature the response already carries is kept.

(relayState string, sp *ServiceProvider)

Source from the content-addressed store, hash-verified

465// Key and SignatureMethod, which must be set. An XML signature the response
466// already carries is kept.
467func (r *LogoutResponse) SimpleSign(relayState string, sp *ServiceProvider) ([]byte, error) {
468 return r.SimpleSignWithNonce(relayState, "", sp)
469}
470
471// SimpleSignWithNonce is like SimpleSign, but if nonce is not empty it is
472// set as the nonce attribute of the form's auto-submit <script> element.

Callers

nothing calls this directly

Calls 1

SimpleSignWithNonceMethod · 0.95

Tested by

no test coverage detected