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

Commit b6c7e4ce authored by David Drysdale's avatar David Drysdale Committed by Automerger Merge Worker
Browse files

Merge "Warn about certificate serial number size" into main am: 45ca05b2

parents da72306e 45ca05b2
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}.
         */