SecureElement
public protocol SecureElement : Peripheral
SecureElement peripheral.
This peripheral allows you to use SecureElement features.
This peripheral can be retrieved by:
device.getPeripheral(Peripherals.secureElement)
-
Challenge request state, or
nil
if no challenge request was sent yet.Declaration
Swift
var challengeRequestState: SecureElementChallengeSigningState? { get }
-
Sends a challenge signature request to connected device. Challenge request state and result is provided by challengeRequestState. A challenge request can be sent only when there is no request currently started.
Declaration
Swift
func sign(challenge: String, with operation: SecureElementSignatureOperation)
-
Certificate download state.
Declaration
Swift
var certificateForImagesState: CertificateImagesDownloaderState { get }
-
Certificate used to validate image signature.
Declaration
Swift
var certificateForImages: URL? { get }