| 1 | #![deny(warnings)] |
| 2 | #![deny(missing_docs)] |
| 3 | #![deny(missing_debug_implementations)] |
| 4 | |
| 5 | //! The `sshkeys` crate provides types and methods for parsing |
| 6 | //! OpenSSH public keys and certificates. |
| 7 | //! |
| 8 | //! The following public key types are supported. |
| 9 | //! |
| 10 | //! - RSA |
| 11 | //! - DSA |
| 12 | //! - ECDSA |
| 13 | //! - ED25519 |
| 14 | //! |
| 15 | //! The following OpenSSH certificate types are supported as well. |
| 16 | //! |
| 17 | //! - [email protected] |
| 18 | //! - [email protected] |
| 19 | //! - [email protected] |
| 20 | //! - [email protected] |
| 21 | //! - [email protected] |
| 22 | //! - [email protected] |
| 23 | //! |
| 24 | //! # Examples |
| 25 | //! |
| 26 | //! In order to view examples of this crate in use, please refer to the |
| 27 | //! `examples` directory. |
| 28 | |
| 29 | extern crate base64rust-analyzer cargo sshkeys 0.3.4 base64/; |
| 30 | extern crate byteorderrust-analyzer cargo sshkeys 0.3.4 byteorder/; |
| 31 | extern crate sha2rust-analyzer cargo sshkeys 0.3.4 sha2/; |
| 32 | |
| 33 | mod certrust-analyzer cargo sshkeys 0.3.4 cert/; |
| 34 | mod errorrust-analyzer cargo sshkeys 0.3.4 error/; |
| 35 | mod keytyperust-analyzer cargo sshkeys 0.3.4 keytype/; |
| 36 | mod pubkeyrust-analyzer cargo sshkeys 0.3.4 pubkey/; |
| 37 | mod readerrust-analyzer cargo sshkeys 0.3.4 reader/; |
| 38 | mod writerrust-analyzer cargo sshkeys 0.3.4 writer/; |
| 39 | |
| 40 | // Serialization and deserialization support for sshkeys |
| 41 | #[cfg(feature = "serde")] |
| 42 | mod serderust-analyzer cargo sshkeys 0.3.4 serde/; |
| 43 | |
| 44 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::certrust-analyzer cargo sshkeys 0.3.4 cert/::{CertTyperust-analyzer cargo sshkeys 0.3.4 cert/CertType#, Certificaterust-analyzer cargo sshkeys 0.3.4 cert/Certificate#}; |
| 45 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::errorrust-analyzer cargo sshkeys 0.3.4 error/::{Errorrust-analyzer cargo sshkeys 0.3.4 error/Error#, Resultrust-analyzer cargo sshkeys 0.3.4 error/Result#}; |
| 46 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::keytyperust-analyzer cargo sshkeys 0.3.4 keytype/::{KeyTyperust-analyzer cargo sshkeys 0.3.4 keytype/KeyType#, KeyTypeKindrust-analyzer cargo sshkeys 0.3.4 keytype/KeyTypeKind#}; |
| 47 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::pubkeyrust-analyzer cargo sshkeys 0.3.4 pubkey/::{ |
| 48 | Curverust-analyzer cargo sshkeys 0.3.4 pubkey/Curve#, CurveKindrust-analyzer cargo sshkeys 0.3.4 pubkey/CurveKind#, DsaPublicKeyrust-analyzer cargo sshkeys 0.3.4 pubkey/DsaPublicKey#, EcdsaPublicKeyrust-analyzer cargo sshkeys 0.3.4 pubkey/EcdsaPublicKey#, Ed25519PublicKeyrust-analyzer cargo sshkeys 0.3.4 pubkey/Ed25519PublicKey#, Fingerprintrust-analyzer cargo sshkeys 0.3.4 pubkey/Fingerprint#, FingerprintKindrust-analyzer cargo sshkeys 0.3.4 pubkey/FingerprintKind#, |
| 49 | PublicKeyrust-analyzer cargo sshkeys 0.3.4 pubkey/PublicKey#, PublicKeyKindrust-analyzer cargo sshkeys 0.3.4 pubkey/PublicKeyKind#, RsaPublicKeyrust-analyzer cargo sshkeys 0.3.4 pubkey/RsaPublicKey#, |
| 50 | }; |
| 51 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::readerrust-analyzer cargo sshkeys 0.3.4 reader/::Readerrust-analyzer cargo sshkeys 0.3.4 reader/Reader#; |
| 52 | pub use selfrust-analyzer cargo sshkeys 0.3.4 crate/::writerrust-analyzer cargo sshkeys 0.3.4 writer/::Writerrust-analyzer cargo sshkeys 0.3.4 writer/Writer#; |