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

Method new

ssh-key/src/private/dsa.rs:31–37  ·  view source on GitHub ↗

Create a new DSA private key given the value `x`. # Errors Returns [`Error::FormatEncoding`] if `x` is negative.

(x: Mpint)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

is_positiveMethod · 0.80

Tested by

no test coverage detected