Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45ca05b2 authored by David Drysdale's avatar David Drysdale Committed by Gerrit Code Review
Browse files

Merge "Warn about certificate serial number size" into main

parents e4016645 da2da492
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1149,6 +1149,8 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu

        /**
         * Sets the serial number used for the certificate of the generated key pair.
         * To ensure compatibility with devices and certificate parsers, the value
         * should be 20 bytes or shorter (see RFC 5280 section 4.1.2.2).
         *
         * <p>By default, the serial number is {@code 1}.
         */