Crate ssh_encoding
source ·Expand description
§RustCrypto: SSH Encoding
§About
Pure Rust implementation of SSH data type decoders/encoders as described in RFC4251.
§Minimum Supported Rust Version
This crate requires Rust 1.71 at a minimum.
We may change the MSRV in the future, but it will be accompanied by a minor version bump.
§License
Licensed under either of:
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
pub use crate::base64::Base64Reader;
base64
pub use crate::base64::Base64Writer;
base64
pub use crate::pem::DecodePem;
pem
pub use crate::pem::EncodePem;
pem
pub use bytes;
bytes
pub use digest;
digest
Modules§
Structs§
- Digest
Writer digest
Wrapper for digests. - Errors related to labels.
Enums§
- Error type.
Traits§
- Extension trait for providing checked
Iterator::sum
-like functionality. - Decoding trait.
- Encoding trait.
- Labels for e.g. cryptographic algorithms.
- Reader trait which decodes the binary SSH protocol serialization from various inputs.
- Writer trait which encodes the SSH binary format to various output encodings.
Type Aliases§
- Result type with
ssh-encoding
crate’sError
as the error type.