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

Method critical_option

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

Add a critical option to this certificate. Critical options must be recognized or the certificate must be rejected. # Errors Returns [`Error::CertificateFieldInvalid`] if `name` is already configured as a critical option.

(
        &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