<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecCertificateCopySubjectSummary(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecCertificateCopySubjectSummary"
  },
  "title" : "SecCertificateCopySubjectSummary(_:)"
}
-->

# SecCertificateCopySubjectSummary(_:)

Returns a human-readable summary of a certificate.

```
func SecCertificateCopySubjectSummary(_ certificate: SecCertificate) -> CFString?
```

## Parameters

`certificate`

The certificate object for which you wish to return a summary string.

## Return Value

A string that contains a human-readable summary of the contents of the certificate. In Objective-C, call the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function to release this object when you are finished with it. Returns `NULL` if the data passed in the `certificate` parameter is not a valid certificate object.

## Discussion

Because all the data in the string comes from the certificate, the string is in whatever language is used in the certificate.

## See Also

[`SecCertificateCreateWithData(_:_:)`](/documentation/Security/SecCertificateCreateWithData(_:_:))

Creates a certificate object from a DER representation of a certificate.



---

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)