init(compactRepresentable:accessControl:authenticationContext:)
Creates a P-256 private key for signing with the specified access control.
Declaration
init(compactRepresentable: Bool = true, accessControl: SecAccessControl = SecAccessControlCreateWithFlags(nil, kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly, [], nil)!, authenticationContext: LAContext? = nil) throwsParameters
- compactRepresentable:
A Boolean value that indicates whether CryptoKit creates the key with the structure to enable compact point encoding.
- accessControl:
The protection type and flags to use when creating the associated access control object.
- authenticationContext:
A local authentication context.