Skip to content
Snippets Groups Projects
Commit da2da492 authored by David Drysdale's avatar David Drysdale
Browse files

Warn about certificate serial number size

Bug: 343627215
Test: None, comment change only
Change-Id: I362e30991ca951670ae29e9a1d9b51cf31c2ef71
parent de818c2e
No related branches found
No related tags found
No related merge requests found
......@@ -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}.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment