Docs.rs
  • ssh-encoding-0.2.0
    • ssh-encoding 0.2.0
    • Permalink
    • Docs.rs crate page
    • Apache-2.0 OR MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • tarcieri
    • github:rustcrypto:ssh
    • Dependencies
      • base64ct ^1.4 normal optional
      • bytes ^1 normal optional
      • pem-rfc7468 ^0.7 normal optional
      • sha2 ^0.10 normal optional
      • hex-literal ^0.4.1 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate ssh_encoding

logo

ssh_encoding0.2.0

  • All Items

Sections

  • RustCrypto: SSH Encoding
    • About
    • Minimum Supported Rust Version
    • License

Crate Items

  • Re-exports
  • Structs
  • Enums
  • Traits
  • Type Aliases

Crates

  • ssh_encoding

Crate ssh_encoding

Source
Expand description

§RustCrypto: SSH Encoding

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Documentation

§About

Pure Rust implementation of SSH data type decoders/encoders as described in RFC4251.

§Minimum Supported Rust Version

This crate requires Rust 1.60 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:

  • Apache License, Version 2.0
  • MIT license

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 base64;base64
pub use pem;pem

Structs§

LabelError
Errors related to labels.
NestedReader
Reader type used by Reader::read_prefixed.

Enums§

Error
Error type.
LineEndingpem
Line endings: variants of newline characters that can be used with Base64.

Traits§

CheckedSum
Extension trait for providing checked Iterator::sum-like functionality.
Decode
Decoding trait.
DecodePempem
Decoding trait for PEM documents.
Encode
Encoding trait.
EncodePempem
Encoding trait for PEM documents.
Label
Labels for e.g. cryptographic algorithms.
Reader
Reader trait which decodes the binary SSH protocol serialization from various inputs.
Writer
Writer trait which encodes the SSH binary format to various output encodings.

Type Aliases§

Base64Readerbase64
Constant-time Base64 reader implementation.
Base64Writerbase64
Constant-time Base64 writer implementation.
Result
Result type with ssh-encoding crate’s Error as the error type.

Results

Settings
Help
    enum variant
    ssh_encoding::Error::Base64
    Base64-related errors.
    re-export
    ssh_encoding::base64
    type alias
    ssh_encoding::Base64Reader
    Constant-time Base64 reader implementation.
    type alias
    ssh_encoding::Base64Writer
    Constant-time Base64 writer implementation.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.