Documentation Archive Developer
Search

Security Changes for Swift

Security

NameDeclaration
FromSecAccessControlRef
typealias SecAccessControlRef = SecAccessControl
ToSecAccessControl
class SecAccessControl {
}

NameDeclaration
FromSecCertificateRef
typealias SecCertificateRef = SecCertificate
ToSecCertificate
class SecCertificate {
}

Modified SecIdentity
NameDeclaration
FromSecIdentityRef
typealias SecIdentityRef = SecIdentity
ToSecIdentity
class SecIdentity {
}

Modified SecKey
NameDeclaration
FromSecKeyRef
typealias SecKeyRef = SecKey
ToSecKey
class SecKey {
}

Modified SecPolicy
NameDeclaration
FromSecPolicyRef
typealias SecPolicyRef = SecPolicy
ToSecPolicy
class SecPolicy {
}

Modified SecTrust
NameDeclaration
FromSecTrustRef
typealias SecTrustRef = SecTrust
ToSecTrust
class SecTrust {
}

Declaration
From
func SecCertificateCopySubjectSummary(_ certificate: SecCertificate) -> CFString
To
func SecCertificateCopySubjectSummary(_ certificate: SecCertificate) -> CFString?