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

Method extension

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

Add an extension to this certificate. Extensions can be unrecognized without impacting the certificate. # Errors Returns [`Error::CertificateFieldInvalid`] if `name` is already configured as an extension.

(
        &mut self,
        name: impl Into<String>,
        data: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ed25519_sign_and_verifyFunction · 0.80

Calls 1

invalid_errorMethod · 0.80

Tested by 1

ed25519_sign_and_verifyFunction · 0.64