<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/certificate-property-type-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Certificate Property Type Values"
}
-->

# Certificate Property Type Values

Recognize the possible certificate property types.

## Discussion

These are the possible values that may be assigned to the [`kSecPropertyKeyType`](/documentation/Security/kSecPropertyKeyType) key in each of the property dictionaries returned by a call to the [`SecCertificateCopyValues(_:_:_:)`](/documentation/Security/SecCertificateCopyValues(_:_:_:)) function.

## Topics

### Constants

[`let kSecPropertyTypeWarning: CFString`](/documentation/Security/kSecPropertyTypeWarning)

A key whose value is a string describing a trust evaluation warning.

[`let kSecPropertyTypeSuccess: CFString`](/documentation/Security/kSecPropertyTypeSuccess)

A key whose value is a string describing a trust evaluation success.

[`let kSecPropertyTypeSection: CFString`](/documentation/Security/kSecPropertyTypeSection)

A key whose value is a string describing the name of a field in the certificate (`CFSTR("Subject Name")`, for example).

[`let kSecPropertyTypeData: CFString`](/documentation/Security/kSecPropertyTypeData)

A key whose value is a data object.

[`let kSecPropertyTypeString: CFString`](/documentation/Security/kSecPropertyTypeString)

A key whose value is a string.

[`let kSecPropertyTypeURL: CFString`](/documentation/Security/kSecPropertyTypeURL)

Specifies a key whose value is a URL.

[`let kSecPropertyTypeDate: CFString`](/documentation/Security/kSecPropertyTypeDate)

Specifies a key whose value is a string containing a date (or a string listing the bytes of an invalid date).

[`let kSecPropertyTypeArray: CFString`](/documentation/Security/kSecPropertyTypeArray)

Specifies a key whose value is an array.

[`let kSecPropertyTypeNumber: CFString`](/documentation/Security/kSecPropertyTypeNumber)

Specifies a key whose value is a number.

[`let kSecPropertyTypeTitle: CFString`](/documentation/Security/kSecPropertyTypeTitle)

Specifies a key whose value is a string containing the title (display name) of the certificate.

[`let kSecPropertyTypeError: CFString`](/documentation/Security/kSecPropertyTypeError)

Specifies a key whose value is a string containing the reason for a trust evaluation failure.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)