MCPcopy Create free account
hub / github.com/RustCrypto/SSH / sign

Method sign

ssh-key/src/certificate/builder.rs:306–342  ·  view source on GitHub ↗

Sign the certificate using the provided signer type. The [`PrivateKey`] type can be used as a signer. # Errors - Returns [`Error::CertificateFieldInvalid`] if any fields are invalid. - Returns [`Error::Signature`] if signature generation failed.

(self, signing_key: &S)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

placeholderFunction · 0.85
invalid_errorMethod · 0.80
encode_tbsMethod · 0.80
try_signMethod · 0.80
validate_atMethod · 0.80
public_keyMethod · 0.45
fingerprintMethod · 0.45

Tested by

no test coverage detected