DefaultSecureEnclaveSignatureProvider
public class DefaultSecureEnclaveSignatureProvider : SecureEnclaveSignatureProvider
-
Declaration
Swift
public init(storage: SecureEGKCertificateStorage, // [REQ:gemSpec_IDP_Frontend:A_21588] key identfier generator, number of bytes 32 keyIdentifierGenerator: @escaping (() throws -> Data) = { try generateSecureRandom(length: 32) }, privateKeyContainerProvider: @escaping ((String) throws -> PrivateKeyContainer) = { identifier in try PrivateKeyContainer.createFromSecureEnclave(with: identifier) })
-
Declaration
Swift
public var isBiometrieRegistered: AnyPublisher<Bool, Never> { get }
-
Declaration
Swift
public func createPairingSession() throws -> PairingSession
-
Declaration
Swift
public func signPairingSession(_ pairingSession: PairingSession, with signer: JWTSigner, certificate: X509) -> AnyPublisher<RegistrationData, SecureEnclaveSignatureProviderError>
-
Declaration
Swift
public func abort(pairingSession: PairingSession) throws
-
Declaration
Swift
public func authenticationData(for challenge: IDPChallengeSession) -> AnyPublisher<SignedAuthenticationData, SecureEnclaveSignatureProviderError>