Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/SSH
/ functions
Functions
877 in github.com/RustCrypto/SSH
⨍
Functions
877
◇
Types & classes
107
↓ 1 callers
Method
encode
(&self, writer: &mut impl Writer)
ssh-key/src/signature.rs:203
↓ 1 callers
Method
encode
(&self, writer: &mut impl Writer)
ssh-key/src/sshsig.rs:373
↓ 1 callers
Method
encoded_len
(&self)
ssh-encoding/src/label.rs:27
↓ 1 callers
Method
encoded_len
(&self)
ssh-key/src/sshsig.rs:360
↓ 1 callers
Method
encoded_len
(&self)
ssh-key/src/public/sk.rs:90
↓ 1 callers
Method
encoded_len
(&self)
ssh-key/src/certificate/options_map.rs:72
↓ 1 callers
Function
encoding_integration_test
(private_key: PrivateKey)
ssh-key/tests/private_key.rs:690
↓ 1 callers
Method
encrypt
(self, key: &[u8], iv: &[u8], buffer: &mut [u8])
ssh-cipher/src/lib.rs:370
↓ 1 callers
Method
encrypt
(mut self, aad: &[u8], mut buffer: InOutBuf<'_, '_, u8>)
ssh-cipher/src/chacha20poly1305.rs:187
↓ 1 callers
Method
encrypt_block
(&mut self, mut block: InOut<'_, '_, Block<Self>>)
ssh-cipher/src/block_cipher/encryptor.rs:136
↓ 1 callers
Method
encrypt_blocks
(&self, blocks: &mut [Block])
ssh-cipher/src/block_cipher/aes.rs:95
↓ 1 callers
Method
encrypt_with
( &self, cipher: Cipher, kdf: Kdf, checkint: u32, password: impl AsRef
ssh-key/src/private.rs:521
↓ 1 callers
Method
encrypted
(&self)
ssh-key/src/private/keypair.rs:122
↓ 1 callers
Method
ensure_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 callers
Method
fingerprint
(&self, hash_alg: HashAlg)
ssh-key/src/public/key_data.rs:116
↓ 1 callers
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
ssh-key/src/fingerprint.rs:184
↓ 1 callers
Method
footer
Get the bracketed hash algorithm footer for use in "randomart".
ssh-key/src/fingerprint.rs:101
↓ 1 callers
Method
g
(&self)
ssh-key/src/public/dsa.rs:63
↓ 1 callers
Method
has_tag
(self)
ssh-cipher/src/lib.rs:243
↓ 1 callers
Method
into_certificate
(self)
ssh-key/src/public/key_data.rs:172
↓ 1 callers
Method
is_none
(self)
ssh-cipher/src/lib.rs:252
↓ 1 callers
Method
is_placeholder
Check if this signature is the placeholder signature.
ssh-key/src/signature.rs:145
↓ 1 callers
Method
is_sk_ecdsa_p256
(&self)
ssh-key/src/public/key_data.rs:209
↓ 1 callers
Method
is_sk_ed25519
(&self)
ssh-key/src/public/key_data.rs:215
↓ 1 callers
Method
key_id
(&self)
ssh-key/src/certificate.rs:303
↓ 1 callers
Method
namespace
(&self)
ssh-key/src/sshsig.rs:281
↓ 1 callers
Method
next
(&mut self)
ssh-key/src/known_hosts.rs:103
↓ 1 callers
Method
next
(&mut self)
ssh-key/src/authorized_keys.rs:96
↓ 1 callers
Method
next_line_trimmed
Get the next line, trimming any comments and trailing whitespace. Ignores empty lines.
ssh-key/src/known_hosts.rs:75
↓ 1 callers
Method
next_line_trimmed
Get the next line, trimming any comments and trailing whitespace. Ignores empty lines.
ssh-key/src/authorized_keys.rs:68
↓ 1 callers
Method
open
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 callers
Method
p
(&self)
ssh-key/src/public/dsa.rs:50
↓ 1 callers
Function
placeholder
()
ssh-key/src/signature.rs:1005
↓ 1 callers
Method
prefix
(self)
ssh-key/src/fingerprint.rs:93
↓ 1 callers
Method
private_key_bytes
(&self)
ssh-key/src/private/ecdsa.rs:288
↓ 1 callers
Method
private_key_with_fingerprint
(&self, fingerprint: Fingerprint)
ssh-key/src/dot_ssh.rs:66
↓ 1 callers
Method
private_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 callers
Method
public_key
(&self)
ssh-key/src/signature.rs:61
↓ 1 callers
Method
public_key_with_fingerprint
(&self, fingerprint: Fingerprint)
ssh-key/src/dot_ssh.rs:84
↓ 1 callers
Method
public_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 callers
Method
q
(&self)
ssh-key/src/public/dsa.rs:56
↓ 1 callers
Method
read_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 callers
Function
scratch_path
(filename: &str)
ssh-key/tests/public_key.rs:58
↓ 1 callers
Function
scratch_path
(filename: &str)
ssh-key/tests/private_key.rs:109
↓ 1 callers
Method
serial
(&self)
ssh-key/src/certificate.rs:286
↓ 1 callers
Method
set_comment
(&mut self, comment: impl Into<Comment>)
ssh-key/src/public.rs:388
↓ 1 callers
Method
source
(&self)
ssh-key/src/error.rs:145
↓ 1 callers
Method
to_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 callers
Method
to_openssh
(&self, line_ending: LineEnding)
ssh-key/src/private.rs:293
↓ 1 callers
Method
to_randomart
(self, header: &str)
ssh-key/src/fingerprint.rs:172
↓ 1 callers
Method
to_string
(&self)
ssh-key/src/authorized_keys.rs:193
↓ 1 callers
Function
try_derive_decode_for_enum
( input: &DeriveInput, DataEnum { variants, .. }: &DataEnum, )
ssh-derive/src/decode.rs:39
↓ 1 callers
Function
try_derive_decode_for_struct
( input: &DeriveInput, DataStruct { fields, .. }: &DataStruct, )
ssh-derive/src/decode.rs:17
↓ 1 callers
Function
try_derive_encode_for_enum
( input: &DeriveInput, DataEnum { variants, .. }: &DataEnum, )
ssh-derive/src/encode.rs:49
↓ 1 callers
Function
try_derive_encode_for_struct
( input: &DeriveInput, DataStruct { fields, .. }: &DataStruct, )
ssh-derive/src/encode.rs:17
↓ 1 callers
Method
type_label
Get the PEM type label for the input document.
ssh-encoding/src/pem/reader.rs:28
↓ 1 callers
Method
valid_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 callers
Method
verify_digest
( &self, namespace: &str, digest: D, signature: &SshSig, )
ssh-key/src/public.rs:272
↓ 1 callers
Method
verify_signature
(&self)
ssh-key/src/certificate.rs:476
↓ 1 callers
Method
write_openssh
(&self, writer: &mut impl Write, line_ending: LineEnding)
ssh-key/src/private.rs:426
↓ 1 callers
Method
write_openssh
(&self, writer: &mut impl Write)
ssh-key/src/public.rs:340
↓ 1 callers
Method
y
(&self)
ssh-key/src/public/dsa.rs:69
Function
additional_algorithm_name
()
ssh-key/tests/algorithm_name.rs:9
Method
algorithm
(&self)
ssh-key/src/private.rs:552
Method
algorithm
(&self)
ssh-key/src/sshsig.rs:253
Method
algorithm
(&self)
ssh-key/src/public/opaque.rs:39
Method
algorithm
(&self)
ssh-key/src/public/ecdsa.rs:84
Method
algorithm
(&self)
ssh-key/src/private/opaque.rs:44
Method
algorithm
(&self)
ssh-key/src/private/ecdsa.rs:260
Method
as_ref
(&self)
ssh-cipher/src/block_cipher/state.rs:66
Method
as_ref
(&self)
ssh-key/src/authorized_keys.rs:250
Method
as_ref
(&self)
ssh-key/src/fingerprint.rs:178
Method
as_ref
(&self)
ssh-key/src/algorithm.rs:287
Method
as_ref
(&self)
ssh-key/src/public/opaque.rs:53
Method
as_ref
(&self)
ssh-key/src/certificate/field.rs:81
Function
as_str_lossy_ignores_non_utf8_data
()
ssh-key/src/comment.rs:160
Method
call
( self, cipher_backend: &B, )
ssh-cipher/src/block_cipher/encryptor.rs:72
Method
cert_type
(&self)
ssh-key/src/certificate.rs:293
Method
cert_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
Method
certificate
(&self)
ssh-key/src/public/key_data.rs:162
Method
cipher
(&self)
ssh-key/src/private.rs:565
Method
comment
Add a comment to this certificate. Default `""` # Errors Returns [`Error::CertificateFieldInvalid`] if called multiple times.
ssh-key/src/certificate/builder.rs:290
Method
config_opts
(&self)
ssh-key/src/authorized_keys.rs:116
Method
config_path
(&self)
ssh-key/src/dot_ssh.rs:50
Function
convert_ecdsa_sha2_p256
()
ssh-key/src/signature.rs:803
Method
critical_options
(&self)
ssh-key/src/certificate.rs:360
Method
ct_eq
(&self, other: &Self)
ssh-key/src/private/opaque.rs:64
Method
decode
(reader: &mut impl Reader)
ssh-encoding/src/label.rs:20
Method
decode
(reader: &mut impl Reader)
ssh-encoding/src/mpint.rs:147
Method
decode
(reader: &mut impl Reader)
ssh-encoding/src/decode.rs:35
Method
decode
(reader: &mut impl Reader)
ssh-key/src/private.rs:810
Method
decode
(reader: &mut impl Reader)
ssh-key/src/signature.rs:179
Method
decode
(reader: &mut impl Reader)
ssh-key/src/comment.rs:43
Method
decode
(reader: &mut impl Reader)
ssh-key/src/kdf.rs:147
Method
decode
(reader: &mut impl Reader)
ssh-key/src/sshsig.rs:323
Method
decode
(reader: &mut impl Reader)
ssh-key/src/certificate.rs:529
Method
decode
(reader: &mut impl Reader)
ssh-key/src/public/key_data.rs:317
Method
decode
(reader: &mut impl Reader)
ssh-key/src/public/sk.rs:67
Method
decode
(reader: &mut impl Reader)
ssh-key/src/public/dsa.rs:77
Method
decode
(reader: &mut impl Reader)
ssh-key/src/public/opaque.rs:78
← previous
next →
201–300 of 877, ranked by callers