formats
formats copied to clipboard
Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
[The documentation for `Encoder::encode`](https://docs.rs/base64ct/1.6.0/base64ct/struct.Encoder.html#method.encode) says it returns the number of bytes read: > ## Returns > - `Ok(bytes)` if the expected amount of data was read But it actually returns...
Hi! My .exe file using `der` crate for a huge protocol is too large (12 MB for a simple DER encoder/decoder) I've just used `cargo bloat` and `cargo llvm-lines` on...
Hello, I'm currently trying to implement parsing of a certificate blob that Panda3D uses, and it's proving rather difficult with RustCrypto's implementation. Basically, the format doesn't store the length so...
- [x] PKCS#1: RSA Cryptography Standard - [x] PKCS#5: Password-based Encryption Standard - [x] #28 - [x] PKCS#8: Private-Key Information Syntax Standard - [x] PKCS#10: Certification Request Standard - [x]...
I want to encode using Crockford Base32 as I'm implementing the [Package Family Name algorithm](https://marcinotorowski.com/2021/12/19/calculating-hash-part-of-msix-package-family-name) but I'm unsure of how to implement the alphabet myself.
https://github.com/RustCrypto/formats/blob/9fd2b44029565c98dfb6b3aa2c25d4727d735261/der/src/asn1/set_of.rs#L120C13-L120C21
The `DerOrd` of tags is not correctly implemented per the rules of X.680: > 8.6 The canonical order for tags is based on the outermost tag of each type and...
I'm currently developing a library for parsing the [Image4](https://www.theiphonewiki.com/wiki/IMG4_File_Format) format found in boot images on Apple devices which is based on DER. This format has some constraints not related to...
Hello, first of all thanks for the crate. I need to parse (and also write) serialized asn1 sequences, where the tags are given as [application](https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/#tag-classes) tag classes, i.e.: ``` InitiateSession...
This is either a feature request or a documentation request. Looking through the documentation, I can see how I could *sign* a message using the `cms` crate, using the `cms::builder::SignedDataBuilder`...