KotlinAttestationClient

Private implementation bridge for the native Swift façade.

Pointer ownership is deliberately handled by WardenSupreme.swift; applications should use the public IosAttestationClient from the final WardenSupreme framework.

Constructors

Link copied to clipboard
constructor()
constructor(allowCellularAccess: Boolean)
constructor(allowCellularAccess: Boolean, pins: List<KotlinPinnedCertificate>)
constructor(pins: List<KotlinPinnedCertificate>)

Functions

Link copied to clipboard
fun getAttestationCertificate(alias: String, index: Int): SecCertificateRef?

Returns a newly created certificate pointer at index, or null when the index is out of range. The Swift façade consumes ownership of a non-null result.

Link copied to clipboard

Returns the number of certificates stored for alias.

Link copied to clipboard

Returns a retained Security-framework key handle. The Swift façade consumes the retain.

Link copied to clipboard

Performs the full verifier ceremony and stores the returned leaf-first certificate chain. challengeEndpoint must be an absolute HTTP or HTTPS URL.