AttestationProof

sealed interface AttestationProof(source)

An authenticated client-to-verifier transport carrying the platform-generated attestation statement.

Signed carries a complete PKCS#10 CSR and proves possession of the attested private key. Hashed carries an unsigned CertificationRequestInfo (TBS CSR) whose contents are bound through the platform attestation nonce, but does not prove possession. The latter does not carry its hash algorithm: the verifier obtains it from the matching AttestationChallenge.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Hashed(val data: TbsCertificationRequest) : AttestationProof

An unsigned TBS CSR whose non-key, non-proof contents are authenticated using the challenge's hash algorithm.

Link copied to clipboard
class Signed(val data: Pkcs10CertificationRequest) : AttestationProof

A complete PKCS#10 CSR whose signature proves possession of the attested private key.

Properties

Link copied to clipboard
abstract val data: Asn1Encodable<Asn1Sequence>
Link copied to clipboard
val AttestationProof.tbsCsr: TbsCertificationRequest

Returns the unsigned certification-request information carried by either transport shape.