simpleSignSigningContext returns the signing context the service provider uses for the HTTP-POST-SimpleSign binding, which requires signing, with signatureMethod.
(signatureMethod string)
| 329 | // uses for the HTTP-POST-SimpleSign binding, which requires signing, with |
| 330 | // signatureMethod. |
| 331 | func (sp *ServiceProvider) simpleSignSigningContext(signatureMethod string) (*dsig.SigningContext, error) { |
| 332 | if signatureMethod == "" { |
| 333 | return nil, errors.New("the HTTP-POST-SimpleSign binding requires ServiceProvider.SignatureMethod to be set") |
| 334 | } |
| 335 | return sp.signingContext(signatureMethod) |
| 336 | } |
| 337 | |
| 338 | // simpleSignForm returns an auto-submitting HTML form that sends el to |
| 339 | // destination with the HTTP-POST-SimpleSign binding, in the messageParam |
no test coverage detected