RustCrypto / formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
229 stars 122 forks source link

const-oid: make `ObjectIdentifier::as_bytes` a `const fn` #1303

Closed tarcieri closed 6 months ago

tarcieri commented 6 months ago

Also bumps MSRV to 1.71 due to the const use of [u8]::split_at.

Additionally makes the internal Encoder type const generic around the size of the output buffer.