FRAppIntegrityKeys
public struct FRAppIntegrityKeys
FRAppIntegrityKeys entity or datamodel which stores all the AppAttesation keys information
-
Declaration
Swift
public private(set) var appAttestKey: String { get }
-
Declaration
Swift
public private(set) var assertKey: String? { get }
-
Declaration
Swift
public private(set) var keyIdentifier: String { get }
-
Declaration
Swift
public private(set) var clientDataHash: String { get }
-
Initializes FRAppAttestDomainModal
Declaration
Swift
public init(attestKey: String = String(), assertKey: String? = nil, keyIdentifier: String = String(), clientDataHash: String = String())
Parameters
attestKey
key generated from apple server
assertKey
key generated from secureEnclave
keyIdentifier
key alias for public/privekey
clientDataHash
BundleId/challenge of the application
-
verify the attestation completed or not
Declaration
Swift
public func isAttestationCompleted() -> Bool
Return Value
true or false if the attestation key exist
-
Delete the attestation key reference from keychain
Declaration
Swift
public func deleteKey()