init

Construct a random 20-byte serial number.

CertificateSerialNumber.swift:72
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.