SecCertificateCopySubjectSummary(_:)
Returns a human-readable summary of a certificate.
Declaration
func SecCertificateCopySubjectSummary(_ certificate: SecCertificate) -> CFString?Parameters
- certificate:
The certificate object for which you wish to return a summary string.
Mentioned in
Return Value
A string that contains a human-readable summary of the contents of the certificate. In Objective-C, call the 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.