MCPcopy Create free account
hub / github.com/cloudflare/cfssl / Sign

Method Sign

api/client/client.go:248–250  ·  view source on GitHub ↗

Sign sends a signature request to the remote CFSSL server, receiving a signed certificate or an error in response. It takes the serialized JSON request to send.

(jsonData []byte)

Source from the content-addressed store, hash-verified

246// receiving a signed certificate or an error in response.
247// It takes the serialized JSON request to send.
248func (srv *server) Sign(jsonData []byte) ([]byte, error) {
249 return srv.request(jsonData, "sign")
250}
251
252// Info sends an info request to the remote CFSSL server, receiving a
253// response or an error in response.

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected