formats
formats copied to clipboard
Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
In the latest release of `spki` it was changed to have generic `AlgorithmIdentifier` and `SubjectPublicKeyInfo`, along with `*Owned` and `*Ref` type aliases. This allows either zero-copy decoding with a lifetime,...
Hey 👋🏻 I'm trying to use a dynamic signer when using `RequestBuilder`, but I'm running into this: > the size for values of type `dyn Signer` cannot be known at...
This is a feature request to add support for the Authenticated-Enveloped-Data Content Type from [RFC 5083](https://www.rfc-editor.org/rfc/rfc5083.txt) for the `cms` crate. I'm willing to create and submit a PR for this,...
Thoughts on adding PKCS12/RFC7292 and (eventually) complete or near complete PFX support? It's a monster and it sucks but it's in wide use thanks to Windows' use of the format....
I have been working on adding support for the the [Signed Certificate Timestamp extension](https://letsencrypt.org/2018/04/04/sct-encoding.html) in x509-cert crate. Since some data in this extension is TLS encoded I an using the...
It would be nice if types from the `asn1` module could be used with `serde`. That could be useful in cases when a structure decoded from DER needs to be...
Currently there is no way to decode the contents of a [SequenceRef](https://docs.rs/der/latest/der/asn1/struct.SequenceRef.html#). I think adding a new `decode_body` method would be useful. Exposing the wrapped bytes via an `as_bytes` method...
Taking this out from #690 , #691 and few practical thoughts from my side: The following string tags are unsupported: - [ ] BMPString - [ ] UniversalString - [...
We currently use the [`impl_string_type!` macro](https://github.com/RustCrypto/formats/blob/bb6bb25b3f0244e7cff5ed29bddc73680d91ed43/der/src/asn1/internal_macros.rs#L25) to write the bodies of various ASN.1 string types. For each ASN.1 type, we support an owned (`*String`) and borrowed (`*StringRef`) type. Instead I...