picky-krb

Crates.iopicky-krb
lib.rspicky-krb
version0.8.0
sourcesrc
created_at2022-05-20 14:53:26.339716
updated_at2024-07-15 02:05:31.057379
descriptionEncode/decode Kerberos ASN.1 DER structs
homepage
repositoryhttps://github.com/Devolutions/picky-rs
max_upload_size
id590325
size365,533
crates-io (github:devolutions:crates-io)

documentation

README

Crates.io docs.rs Crates.io

Compatible with rustc 1.56. Minimal rustc version bumps happen only with minor number bumps in this project.

picky-krb

Provides implementation for types defined in RFC 4120.

Serializing and deserializing Kerberos structures

Use picky_asn1_der::from_bytes for deserialization from binary, for example:

use picky_krb::messages::AsRep;
let as_rep: AsRep = picky_asn1_der::from_bytes(&raw).unwrap();

And picky_asn1_der::to_vec for serialization to binary, for example:

use picky_krb::messages::TgsReq;
let tgs_req: TgsReq = picky_asn1_der::from_bytes(&raw).unwrap();
let tgs_req_encoded = picky_asn1_der::to_vec(&tgs_req).unwrap();
Commit count: 682

cargo fmt