Crates.io | picky-krb |
lib.rs | picky-krb |
version | 0.8.0 |
source | src |
created_at | 2022-05-20 14:53:26.339716 |
updated_at | 2024-07-15 02:05:31.057379 |
description | Encode/decode Kerberos ASN.1 DER structs |
homepage | |
repository | https://github.com/Devolutions/picky-rs |
max_upload_size | |
id | 590325 |
size | 365,533 |
Compatible with rustc 1.56. Minimal rustc version bumps happen only with minor number bumps in this project.
Provides implementation for types defined in RFC 4120.
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();