Initializerswift-certificates 1.8.0X509
init
Construct a random 20-byte serial number.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
init()
Serial numbers should be generated randomly, and may contain up to 20 bytes. This initializer generates an appropriate serial number.