RustCrypto / formats

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

x509-cert: adds a serial numbers generator #1270

Closed baloo closed 8 months ago

baloo commented 9 months ago

This follows the CABF ballot 164 recommendation to have serials use 64 bits from a CSPRNG. https://cabforum.org/2016/03/31/ballot-164/

This also provides the user with the option to prefix its values (for use of an instance id).