---
title: "SecCertificateCopyNormalizedIssuerContent(_:_:)"
framework: security
role: symbol
role_heading: Function
path: "security/seccertificatecopynormalizedissuercontent(_:_:)"
---

# SecCertificateCopyNormalizedIssuerContent(_:_:)

Returns a normalized copy of the distinguished name (DN) of the issuer of a certificate.

## Declaration

```swift
func SecCertificateCopyNormalizedIssuerContent(_ certificate: SecCertificate, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> CFData?
```

## Parameters

- `certificate`: The certificate from which the issuer’s distinguished name should be copied.
- `error`: A pointer to a doc://com.apple.documentation/documentation/CoreFoundation/CFError variable where an error object is stored upon failure. If not NULL, the caller is responsible for checking this variable and releasing the resulting object if it exists.

## Return Value

Return Value A data object containing a DER-encoded X.509 distinguished name suitable for use with SecItemCopyMatching(_:_:). Returns NULL if an error occurred. In Objective-C, free the object with a call to the CFRelease function when you are done with it.

## Discussion

Discussion To obtain a copy of the issuer’s distinguished name in a format suitable for display purposes, call SecCertificateCopyValues(_:_:_:) instead.
