Initializer

init(certificate:objectID:)

Initializes a token keychain certificate with data from the specified certificate reference and a given object ID.

Declaration

init?(certificate certificateRef: SecCertificate, objectID: TKToken.ObjectID)

Parameters

certificateRef

The certificate reference.

You can create a SecCertificate value from a data object using the SecCertificateCreateWithData(_:_:) function.

objectID

The object ID.

Return Value

A new token keychain certificate.

Discussion

This is the designated initializer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software