init(bytes:)

Construct a serial number from its raw big-endian bytes.

CertificateSerialNumber.swift:47
iOS
13+
macOS
10.15+
Mac Catalyst
13+
tvOS
13+
visionOS
1.0+
watchOS
6+
init<Bytes>(bytes: Bytes) where Bytes : Collection, Bytes.Element == UInt8

Parameters

bytes

The raw big-endian bytes of the serial number.