---
title: SecCertificateGetTypeID()
framework: security
role: symbol
role_heading: Function
path: security/seccertificategettypeid()
---

# SecCertificateGetTypeID()

Returns the unique identifier of the opaque type to which a certificate object belongs.

## Declaration

```swift
func SecCertificateGetTypeID() -> CFTypeID
```

## Return Value

Return Value A value that identifies the opaque type of a SecCertificate object.

## Discussion

Discussion This function returns a value that uniquely identifies the opaque type of a SecCertificate object. You can compare this value to the CFTypeID identifier obtained by calling the CFGetTypeID(_:) function on a specific object. These values might change from release to release or platform to platform.
