formats
formats copied to clipboard
Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
Move from RustCrypto/utils 831 CryptoPAN is a prefix-preserving IP address anonymization algorithm.
Ran into this issue while implementing an additional alphabet and writing tests. It appears that `Encoding::encode` sometimes produces output containing `\0` bytes for unpadded alphabets, this then causes a panic...
Hey @franziskuskiefer question for you, how is the current encoding / decoding performance? If there are places you think we can help make improvements let us know. _Originally posted by...
Implement PKCS#7 per [RFC5652](https://datatracker.ietf.org/doc/html/rfc5652)
As part of investigating https://github.com/indygreg/PyOxidizer/issues/482 I was looking at what other ASN.1 implementations do for `GeneralizedTime`. This project's implementation - like mine - assumes the *no fractional seconds allowed* definition...
I think it's pretty common to have a single `.pem` file that contains a bunch of public keys. Not sure what the best API for this is, maybe return the...
The `x509-cert` crate currently has a hard dependency on `alloc`, but several types still have a lifetime which borrows from the input, which precludes one-pass decoding from PEM (where Base64...
The `yoke` crate implements support for attaching zero-copy deserialized data types (i.e. ones with lifetimes that borrow from the original encoded data) to the data they're decoded from: https://docs.rs/yoke/ The...
This is the feature request. Usually, when working with external formats there is either: * schema-first approach: * e.g. having `my_type.proto` one can generate source code for it; * or...
The generated line is considered invalid by decoder.