Contents

SecTrustSetSignedCertificateTimestamps(_:_:)

Attaches signed certificate timestamp data to a trust object.

Declaration

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

Parameters

  • trust:

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

  • sctArray:

    An array of Cfdata instances, each of which contains a signed certificate timestamp.

Return Value

A result code. See 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.