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

# SecTrustSetSignedCertificateTimestamps(_:_:)

Attaches signed certificate timestamp data to a trust object.

```
func SecTrustSetSignedCertificateTimestamps(_ trust: SecTrust, _ sctArray: CFArray?) -> OSStatus
```

## Parameters

`trust`

The trust object to which the timestamp data should be attached.

`sctArray`

An array of <doc://com.apple.documentation/documentation/CoreFoundation/CFData> instances, each of which contains a signed certificate timestamp.

## Return Value

A result code. See [Security Framework Result Codes](/documentation/Security/security-framework-result-codes).

## Discussion

Use this function to provide secure certificate timestamps, which might be obtained during a TLS/SSL handshake, as input to a trust evaluation. For more information, see [RFC 6962](https://tools.ietf.org/html/rfc6962).

---

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)