MCPcopy Create free account

hub / github.com/RustCrypto/SSH / functions

Functions877 in github.com/RustCrypto/SSH

↓ 1 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-key/src/signature.rs:203
↓ 1 callersMethodencode
(&self, writer: &mut impl Writer)
ssh-key/src/sshsig.rs:373
↓ 1 callersMethodencoded_len
(&self)
ssh-encoding/src/label.rs:27
↓ 1 callersMethodencoded_len
(&self)
ssh-key/src/sshsig.rs:360
↓ 1 callersMethodencoded_len
(&self)
ssh-key/src/public/sk.rs:90
↓ 1 callersMethodencoded_len
(&self)
ssh-key/src/certificate/options_map.rs:72
↓ 1 callersFunctionencoding_integration_test
(private_key: PrivateKey)
ssh-key/tests/private_key.rs:690
↓ 1 callersMethodencrypt
(self, key: &[u8], iv: &[u8], buffer: &mut [u8])
ssh-cipher/src/lib.rs:370
↓ 1 callersMethodencrypt
(mut self, aad: &[u8], mut buffer: InOutBuf<'_, '_, u8>)
ssh-cipher/src/chacha20poly1305.rs:187
↓ 1 callersMethodencrypt_block
(&mut self, mut block: InOut<'_, '_, Block<Self>>)
ssh-cipher/src/block_cipher/encryptor.rs:136
↓ 1 callersMethodencrypt_blocks
(&self, blocks: &mut [Block])
ssh-cipher/src/block_cipher/aes.rs:95
↓ 1 callersMethodencrypt_with
( &self, cipher: Cipher, kdf: Kdf, checkint: u32, password: impl AsRef
ssh-key/src/private.rs:521
↓ 1 callersMethodencrypted
(&self)
ssh-key/src/private/keypair.rs:122
↓ 1 callersMethodensure_finished
Ensure that decoding is finished. # Errors Returns [`Error::TrailingData`] if there is data remaining in the encoder.
ssh-encoding/src/reader.rs:125
↓ 1 callersMethodfingerprint
(&self, hash_alg: HashAlg)
ssh-key/src/public/key_data.rs:116
↓ 1 callersMethodfmt
(&self, f: &mut fmt::Formatter<'_>)
ssh-key/src/fingerprint.rs:184
↓ 1 callersMethodfooter
Get the bracketed hash algorithm footer for use in "randomart".
ssh-key/src/fingerprint.rs:101
↓ 1 callersMethodg
(&self)
ssh-key/src/public/dsa.rs:63
↓ 1 callersMethodhas_tag
(self)
ssh-cipher/src/lib.rs:243
↓ 1 callersMethodinto_certificate
(self)
ssh-key/src/public/key_data.rs:172
↓ 1 callersMethodis_none
(self)
ssh-cipher/src/lib.rs:252
↓ 1 callersMethodis_placeholder
Check if this signature is the placeholder signature.
ssh-key/src/signature.rs:145
↓ 1 callersMethodis_sk_ecdsa_p256
(&self)
ssh-key/src/public/key_data.rs:209
↓ 1 callersMethodis_sk_ed25519
(&self)
ssh-key/src/public/key_data.rs:215
↓ 1 callersMethodkey_id
(&self)
ssh-key/src/certificate.rs:303
↓ 1 callersMethodnamespace
(&self)
ssh-key/src/sshsig.rs:281
↓ 1 callersMethodnext
(&mut self)
ssh-key/src/known_hosts.rs:103
↓ 1 callersMethodnext
(&mut self)
ssh-key/src/authorized_keys.rs:96
↓ 1 callersMethodnext_line_trimmed
Get the next line, trimming any comments and trailing whitespace. Ignores empty lines.
ssh-key/src/known_hosts.rs:75
↓ 1 callersMethodnext_line_trimmed
Get the next line, trimming any comments and trailing whitespace. Ignores empty lines.
ssh-key/src/authorized_keys.rs:68
↓ 1 callersMethodopen
Open a `~/.ssh`-structured directory. Does not verify that the directory exists or has the right file permissions. Attempts to canonicalize the path
ssh-key/src/dot_ssh.rs:35
↓ 1 callersMethodp
(&self)
ssh-key/src/public/dsa.rs:50
↓ 1 callersFunctionplaceholder
()
ssh-key/src/signature.rs:1005
↓ 1 callersMethodprefix
(self)
ssh-key/src/fingerprint.rs:93
↓ 1 callersMethodprivate_key_bytes
(&self)
ssh-key/src/private/ecdsa.rs:288
↓ 1 callersMethodprivate_key_with_fingerprint
(&self, fingerprint: Fingerprint)
ssh-key/src/dot_ssh.rs:66
↓ 1 callersMethodprivate_keys
Iterate over the private keys in the `~/.ssh` directory. # Errors Returns [`Error::Io`] in the event of I/O errors.
ssh-key/src/dot_ssh.rs:58
↓ 1 callersMethodpublic_key
(&self)
ssh-key/src/signature.rs:61
↓ 1 callersMethodpublic_key_with_fingerprint
(&self, fingerprint: Fingerprint)
ssh-key/src/dot_ssh.rs:84
↓ 1 callersMethodpublic_keys
Iterate over the public keys in the `~/.ssh` directory. # Errors Returns [`Error::Io`] in the event of I/O errors.
ssh-key/src/dot_ssh.rs:76
↓ 1 callersMethodq
(&self)
ssh-key/src/public/dsa.rs:56
↓ 1 callersMethodread_string
Decode a `string` as described in [RFC4251 § 5]: > Arbitrary length binary string. Strings are allowed to contain > arbitrary binary data, including
ssh-encoding/src/reader.rs:89
↓ 1 callersFunctionscratch_path
(filename: &str)
ssh-key/tests/public_key.rs:58
↓ 1 callersFunctionscratch_path
(filename: &str)
ssh-key/tests/private_key.rs:109
↓ 1 callersMethodserial
(&self)
ssh-key/src/certificate.rs:286
↓ 1 callersMethodset_comment
(&mut self, comment: impl Into<Comment>)
ssh-key/src/public.rs:388
↓ 1 callersMethodsource
(&self)
ssh-key/src/error.rs:145
↓ 1 callersMethodto_bytes
Serialize OpenSSH certificate as raw bytes. # Errors Returns [`Error::Encoding`] in the event of an encoding error.
ssh-key/src/certificate.rs:220
↓ 1 callersMethodto_openssh
(&self, line_ending: LineEnding)
ssh-key/src/private.rs:293
↓ 1 callersMethodto_randomart
(self, header: &str)
ssh-key/src/fingerprint.rs:172
↓ 1 callersMethodto_string
(&self)
ssh-key/src/authorized_keys.rs:193
↓ 1 callersFunctiontry_derive_decode_for_enum
( input: &DeriveInput, DataEnum { variants, .. }: &DataEnum, )
ssh-derive/src/decode.rs:39
↓ 1 callersFunctiontry_derive_decode_for_struct
( input: &DeriveInput, DataStruct { fields, .. }: &DataStruct, )
ssh-derive/src/decode.rs:17
↓ 1 callersFunctiontry_derive_encode_for_enum
( input: &DeriveInput, DataEnum { variants, .. }: &DataEnum, )
ssh-derive/src/encode.rs:49
↓ 1 callersFunctiontry_derive_encode_for_struct
( input: &DeriveInput, DataStruct { fields, .. }: &DataStruct, )
ssh-derive/src/encode.rs:17
↓ 1 callersMethodtype_label
Get the PEM type label for the input document.
ssh-encoding/src/pem/reader.rs:28
↓ 1 callersMethodvalid_principal
Add a principal (i.e. username or hostname) to `valid_principals`. # Errors Currently does not return errors.
ssh-key/src/certificate/builder.rs:214
↓ 1 callersMethodverify_digest
( &self, namespace: &str, digest: D, signature: &SshSig, )
ssh-key/src/public.rs:272
↓ 1 callersMethodverify_signature
(&self)
ssh-key/src/certificate.rs:476
↓ 1 callersMethodwrite_openssh
(&self, writer: &mut impl Write, line_ending: LineEnding)
ssh-key/src/private.rs:426
↓ 1 callersMethodwrite_openssh
(&self, writer: &mut impl Write)
ssh-key/src/public.rs:340
↓ 1 callersMethody
(&self)
ssh-key/src/public/dsa.rs:69
Functionadditional_algorithm_name
()
ssh-key/tests/algorithm_name.rs:9
Methodalgorithm
(&self)
ssh-key/src/private.rs:552
Methodalgorithm
(&self)
ssh-key/src/sshsig.rs:253
Methodalgorithm
(&self)
ssh-key/src/public/opaque.rs:39
Methodalgorithm
(&self)
ssh-key/src/public/ecdsa.rs:84
Methodalgorithm
(&self)
ssh-key/src/private/opaque.rs:44
Methodalgorithm
(&self)
ssh-key/src/private/ecdsa.rs:260
Methodas_ref
(&self)
ssh-cipher/src/block_cipher/state.rs:66
Methodas_ref
(&self)
ssh-key/src/authorized_keys.rs:250
Methodas_ref
(&self)
ssh-key/src/fingerprint.rs:178
Methodas_ref
(&self)
ssh-key/src/algorithm.rs:287
Methodas_ref
(&self)
ssh-key/src/public/opaque.rs:53
Methodas_ref
(&self)
ssh-key/src/certificate/field.rs:81
Functionas_str_lossy_ignores_non_utf8_data
()
ssh-key/src/comment.rs:160
Methodcall
( self, cipher_backend: &B, )
ssh-cipher/src/block_cipher/encryptor.rs:72
Methodcert_type
(&self)
ssh-key/src/certificate.rs:293
Methodcert_type
Set certificate type: user or host. Default: [`CertType::User`]. # Errors Returns [`Error::CertificateFieldInvalid`] if called multiple times.
ssh-key/src/certificate/builder.rs:186
Methodcertificate
(&self)
ssh-key/src/public/key_data.rs:162
Methodcipher
(&self)
ssh-key/src/private.rs:565
Methodcomment
Add a comment to this certificate. Default `""` # Errors Returns [`Error::CertificateFieldInvalid`] if called multiple times.
ssh-key/src/certificate/builder.rs:290
Methodconfig_opts
(&self)
ssh-key/src/authorized_keys.rs:116
Methodconfig_path
(&self)
ssh-key/src/dot_ssh.rs:50
Functionconvert_ecdsa_sha2_p256
()
ssh-key/src/signature.rs:803
Methodcritical_options
(&self)
ssh-key/src/certificate.rs:360
Methodct_eq
(&self, other: &Self)
ssh-key/src/private/opaque.rs:64
Methoddecode
(reader: &mut impl Reader)
ssh-encoding/src/label.rs:20
Methoddecode
(reader: &mut impl Reader)
ssh-encoding/src/mpint.rs:147
Methoddecode
(reader: &mut impl Reader)
ssh-encoding/src/decode.rs:35
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/private.rs:810
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/signature.rs:179
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/comment.rs:43
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/kdf.rs:147
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/sshsig.rs:323
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/certificate.rs:529
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/public/key_data.rs:317
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/public/sk.rs:67
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/public/dsa.rs:77
Methoddecode
(reader: &mut impl Reader)
ssh-key/src/public/opaque.rs:78
← previousnext →201–300 of 877, ranked by callers