Contents

init(dataRepresentation:authenticationContext:)

Creates a P-256 private key for signing from a data representation of the key with the given authentication context.

Declaration

init(dataRepresentation: Data, authenticationContext: LAContext? = nil) throws

Parameters

  • dataRepresentation:

    A data representation of the key.

  • authenticationContext:

    A local authentication context.

See Also

Creating a private key