Instance Propertyswift-certificates 1.8.0X509
debugDescription
SubjectKeyIdentifier.swift:67var debugDescription: String { get }
var debugDescription: String { get }
import X509
A library for working with X.509 certificates.
struct SubjectKeyIdentifier
Provides a means of identifying a certificate that contains a particular public key.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ ext: Certificate.Extension) throws
Create a new SubjectKeyIdentifier
object by unwrapping a Extension
.
init(hash publicKey: Certificate.PublicKey)
Construct a SubjectKeyIdentifier
by hashing the given publicKey
with SHA-1 according to RFC 5280 Section 4.2.1.2.
init(keyIdentifier: ArraySlice<UInt8>)
Construct a Subject Key Identifier extension with a specific key identifier.
var description: String { get }
var keyIdentifier: ArraySlice<UInt8>
func makeCertificateExtension() throws -> Certificate.Extension