KeyProtection

public struct KeyProtection : OptionSet, Codable

The list of possible key protections, which describe the method an authenticator uses to protect the private key material for FIDO registrations.

  • Declaration

    Swift

    public let rawValue: UInt16
  • Declaration

    Swift

    public init(rawValue: UInt16)
  • This option must be set if the authenticator uses software-based key management.

    Declaration

    Swift

    static let software: KeyProtection
  • This option should be set if the authenticator uses hardware-based key management.

    Declaration

    Swift

    static let hardware: KeyProtection
  • tee

    This option should be set if the authenticator uses the Trusted Execution Environment [TEE] for key management.

    Declaration

    Swift

    static let tee: KeyProtection
  • This option should be set if the authenticator uses a Secure Element [SecureElement] for key management.

    Declaration

    Swift

    static let secureElement: KeyProtection
  • This option must be set if the authenticator does not store (wrapped) UAuth keys at the client, but relies on a server-provided key handle.

    Declaration

    Swift

    static let remoteHandle: KeyProtection