ocspSigning
The public key may be used for signing OCSP responses.
static let ocspSigning: ExtendedKeyUsage.Usage
The public key may be used for signing OCSP responses.
static let ocspSigning: ExtendedKeyUsage.Usage
import X509
A library for working with X.509 certificates.
struct Usage
An acceptable usage for a certificate as attested in an ExtendedKeyUsage
extension.
struct ExtendedKeyUsage
Indicates one or more purposes for which the certified public key may be used, in addition to or instead of the the purposes indicated in the KeyUsage
extension.
init(oid: ASN1ObjectIdentifier)
Constructs a Usage
from an opaque oid.
static let any: ExtendedKeyUsage.Usage
The public key may be used for any purpose.
static let certificateTransparency: ExtendedKeyUsage.Usage
The public key may be used for signing certificate transparency precertificates.
static let clientAuth: ExtendedKeyUsage.Usage
The public key may be used for TLS web client authentication.
static let codeSigning: ExtendedKeyUsage.Usage
The public key may be used for signing of downloadable executable code.
static let emailProtection: ExtendedKeyUsage.Usage
The public key may be used for email protection.
static let serverAuth: ExtendedKeyUsage.Usage
The public key may be used for TLS web servers.
static let timeStamping: ExtendedKeyUsage.Usage
The public key may be used for binding the hash of an object to a time.
var debugDescription: String { get }
var description: String { get }