init(hash:)

Construct a SubjectKeyIdentifier by hashing the given publicKey with SHA-1 according to RFC 5280 Section 4.2.1.2.

SubjectKeyIdentifier.swift:104
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
init(hash publicKey: Certificate.PublicKey)

Parameters

publicKey

the public key which will be hashed