KotlinAttestationClient
class 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.
Functions
Link copied to clipboard
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
suspend fun performAttestation(alias: String, challengeEndpoint: String, additionalAttributes: (List<KotlinAttestedAttributeDescriptor>) -> List<KotlinAttestedAttributeValue>): KotlinIosAttestationResult
Performs the full verifier ceremony and stores the returned leaf-first certificate chain. challengeEndpoint must be an absolute HTTP or HTTPS URL.