MCPcopy Create free account

hub / github.com/RustCrypto/SSH / functions

Functions877 in github.com/RustCrypto/SSH

Methodnew
( public: public::SkEcdsaSha2NistP256, flags: u8, key_handle: impl Into<Vec<u8>>,
ssh-key/src/private/sk.rs:34
Methodnew
Create a new DSA private key given the value `x`. # Errors Returns [`Error::FormatEncoding`] if `x` is negative.
ssh-key/src/private/dsa.rs:31
Methodnew
(private_key: Vec<u8>, public: OpaquePublicKey)
ssh-key/src/private/opaque.rs:35
Methodnew
Create a new RSA private key with the following components: - `d`: RSA private exponent. - `iqmp`: CRT coefficient: `(inverse of q) mod p`. - `p`: Fi
ssh-key/src/private/rsa.rs:43
Methodnew_certificate
Decode algorithm from the given string identifier as used by the OpenSSH certificate format. OpenSSH certificate algorithms end in `*-cert-v01@openss
ssh-key/src/algorithm.rs:171
Methodnew_from_slice
(slice: &[u8])
ssh-cipher/src/block_cipher.rs:77
Methodnew_from_slice
Create a new AES block cipher instance. Supports `key` whose length is 16-bytes (128-bit), 24-bytes (192-bits), or 32-bytes (256-bits). # Errors Ret
ssh-cipher/src/block_cipher/aes.rs:35
Methodnew_from_slice
Initialize state for a particular block cipher mode of operation, with the initialization vector provided as a slice. # Errors Returns [`Error::Lengt
ssh-cipher/src/block_cipher/state.rs:33
Functionnew_over_max_secs_returns_error
()
ssh-key/src/certificate/unix_time.rs:148
Functionnew_sk_ecdsa_p256
()
ssh-key/tests/public_key.rs:308
Functionnew_sk_ed25519_openssh
()
ssh-key/tests/public_key.rs:349
Methodnew_v2
()
ssh-key/src/ppk.rs:31
Methodnew_v3
(algorithm: &str, ppk: &PpkWrapper)
ssh-key/src/ppk.rs:35
Functionnew_with_forever_secs_is_ok
()
ssh-key/src/certificate/unix_time.rs:153
Functionnew_with_max_secs
()
ssh-key/src/certificate/unix_time.rs:143
Methodnew_with_random_nonce
( rng: &mut impl CryptoRng, public_key: impl Into<public::KeyData>, valid_after: u64,
ssh-key/src/certificate/builder.rs:154
Functionnew_with_validity_times
()
ssh-key/tests/certificate_builder.rs:192
Methodnew_with_validity_times
( nonce: impl Into<Vec<u8>>, public_key: impl Into<public::KeyData>, valid_after: Syst
ssh-key/src/certificate/builder.rs:133
Methodnonce
(&self)
ssh-key/src/certificate.rs:270
Methodnow
()
ssh-key/src/certificate/unix_time.rs:77
Functionoptions_comma_delimited
()
ssh-key/src/authorized_keys.rs:379
Functionoptions_comma_delimited_quoted
()
ssh-key/src/authorized_keys.rs:387
Functionoptions_empty
()
ssh-key/src/authorized_keys.rs:355
Functionoptions_invalid_character
()
ssh-key/src/authorized_keys.rs:395
Functionoptions_no_comma
()
ssh-key/src/authorized_keys.rs:360
Functionoptions_no_comma_quoted
()
ssh-key/src/authorized_keys.rs:367
Methodother
(&self)
ssh-key/src/private/keypair.rs:162
Methodp
(&self)
ssh-key/src/private/rsa.rs:65
Functionparamiko_ecdsa_key
()
ssh-key/tests/private_key.rs:728
Functionpath_round_trip
()
ssh-key/tests/dot_ssh.rs:14
Methodpeek
Call the provided function with an ephemeral [`Decryptor`] state which will be reset upon completion, returning the result of the function.
ssh-cipher/src/block_cipher/decryptor.rs:46
Methodplaceholder
Placeholder signature used by the certificate builder. This is guaranteed to generate an error if anything attempts to encode it.
ssh-key/src/signature.rs:137
Methodprivate
(&self)
ssh-key/src/private/rsa.rs:180
Functionprivate_key_with_fingerprint
()
ssh-key/tests/dot_ssh.rs:27
Functionprivate_keys
()
ssh-key/tests/dot_ssh.rs:21
Methodpublic
(&self)
ssh-key/src/private/dsa.rs:181
Methodpublic
(&self)
ssh-key/src/private/rsa.rs:174
Methodpublic_key
(&self)
ssh-key/src/private.rs:601
Methodpublic_key
(&self)
ssh-key/src/known_hosts.rs:136
Methodpublic_key
(&self)
ssh-key/src/authorized_keys.rs:122
Methodpublic_key
(&self)
ssh-key/src/certificate.rs:276
Methodpublic_key_bytes
(&self)
ssh-key/src/private/ecdsa.rs:278
Functionpublic_key_with_fingerprint
()
ssh-key/tests/dot_ssh.rs:44
Functionpublic_keys
()
ssh-key/tests/dot_ssh.rs:38
Functionpublic_keys_are_hashable
()
ssh-key/tests/public_key.rs:435
Methodq
(&self)
ssh-key/src/private/rsa.rs:71
Methodrandom
(rng: &mut R, algorithm: Algorithm)
ssh-key/src/private.rs:611
Methodrandom
(rng: &mut R)
ssh-key/src/private/dsa.rs:163
Methodrandom
(rng: &mut R, bit_size: usize)
ssh-key/src/private/rsa.rs:153
Methodrandom
(rng: &mut R, curve: EcdsaCurve)
ssh-key/src/private/ecdsa.rs:222
Methodrandom
(rng: &mut R)
ssh-key/src/private/ed25519.rs:25
Functionread_example_file
()
ssh-key/tests/known_hosts.rs:9
Functionread_example_file
()
ssh-key/tests/authorized_keys.rs:9
Methodread_file
(path: impl AsRef<Path>)
ssh-key/src/known_hosts.rs:68
Methodread_file
(path: impl AsRef<Path>)
ssh-key/src/authorized_keys.rs:61
Methodread_file
(path: &Path)
ssh-key/src/certificate.rs:230
Methodread_openssh
(reader: &mut impl Read)
ssh-key/src/private.rs:403
Methodread_openssh
(reader: &mut impl Read)
ssh-key/src/public.rs:318
Methodread_openssh_file
(path: impl AsRef<Path>)
ssh-key/src/private.rs:414
Methodread_openssh_file
(path: impl AsRef<Path>)
ssh-key/src/public.rs:329
Functionreject_certificate_with_future_valid_after
()
ssh-key/tests/certificate.rs:400
Functionreject_certificate_with_invalid_signature
()
ssh-key/tests/certificate.rs:372
Functionreject_certificate_with_untrusted_ca
()
ssh-key/tests/certificate.rs:380
Functionreject_ed25519_certificate_with_invalid_signature
()
ssh-key/tests/certificate.rs:349
Functionreject_expired_certificate
()
ssh-key/tests/certificate.rs:392
Functionreject_extra_leading_zeroes
()
ssh-encoding/src/mpint.rs:269
Functionreject_oversize_usize
()
ssh-encoding/tests/decode.rs:48
Methodreserved
(&self)
ssh-key/src/sshsig.rs:291
Functionround_trip
()
ssh-cipher/tests/lib.rs:7
Functionround_trip_non_utf8_comment_openssh
()
ssh-key/tests/private_key.rs:602
Functionround_trip_rsa_3072
()
ssh-key/tests/private_key.rs:564
Methodrsa
(&self)
ssh-key/src/private/keypair.rs:132
Functionrsa_sign_and_verify
()
ssh-key/tests/certificate_builder.rs:134
Methodserial
Set certificate serial number. Default: `0`. # Errors Returns [`Error::CertificateFieldInvalid`] if called multiple times.
ssh-key/src/certificate/builder.rs:171
Methodserialize
(&self, serializer: S)
ssh-key/src/public.rs:505
Methodserialize
(&self, serializer: S)
ssh-key/src/sshsig.rs:462
Methodserialize
(&self, serializer: S)
ssh-key/src/fingerprint.rs:231
Methodserialize
(&self, serializer: S)
ssh-key/src/certificate.rs:598
Methodset_comment
(&mut self, comment: impl Into<Comment>)
ssh-key/src/private.rs:641
Methodset_comment
Set the comment on this certificate.
ssh-key/src/certificate.rs:260
Methodsha256
(self)
ssh-key/src/fingerprint.rs:119
Methodsha512
(self)
ssh-key/src/fingerprint.rs:128
Methodsign
(&self, namespace: &str, hash_alg: HashAlg, msg: &[u8])
ssh-key/src/private.rs:358
Methodsign
Sign the certificate using the provided signer type. The [`PrivateKey`] type can be used as a signer. # Errors - Returns [`Error::CertificateFieldIn
ssh-key/src/certificate/builder.rs:306
Functionsign_and_verify_ed25519
()
ssh-key/src/signature.rs:998
Functionsign_and_verify_rsa_sha1
()
ssh-key/src/signature.rs:1024
Methodsign_digest
( &self, namespace: &str, digest: D, )
ssh-key/src/private.rs:371
Methodsign_digest
Sign the given message digest with the provided signing key. # Errors - Returns [`Error::AlgorithmUnsupported`] if this signing key's algorithm is un
ssh-key/src/sshsig.rs:142
Functionsign_dsa
()
ssh-key/tests/sshsig.rs:176
Functionsign_ecdsa_p256
()
ssh-key/tests/sshsig.rs:219
Functionsign_ed25519
()
ssh-key/tests/sshsig.rs:246
Methodsign_prehash
( &self, namespace: &str, hash_alg: HashAlg, prehash: &[u8], )
ssh-key/src/private.rs:388
Methodsign_prehash
Sign the given prehashed message digest with the provided signing key. # Errors - Returns [`Error::AlgorithmUnsupported`] if this signing key's algor
ssh-key/src/sshsig.rs:163
Functionsign_rsa
()
ssh-key/tests/sshsig.rs:268
Methodsignature
(&self)
ssh-key/src/sshsig.rs:309
Methodsignature
(&self)
ssh-key/src/certificate.rs:383
Methodsignature_bytes
(&self)
ssh-key/src/sshsig.rs:315
Methodsignature_key
(&self)
ssh-key/src/certificate.rs:376
Methodsigned_data
Get the raw "enveloped" message over which the signature for a given input message is computed. This is a low-level function intended for uses cases
ssh-key/src/sshsig.rs:198
Methodsigned_data_for_prehash
Get the raw message over which the signature for a given message digest (passed as the `prehash` parameter) is computed. # Errors - Returns [`Error::
ssh-key/src/sshsig.rs:208
← previousnext →701–800 of 877, ranked by callers