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.