Package-level declarations
Types
Represents a challenge for an attestation ceremony, including freshness, key-generation hints, the required DataAuthentication mode, and optional client-provided values that must be bound to the attestation.
Canonical DER structure authenticated by DataAuthentication.Hash.
An authenticated client-to-verifier transport carrying the platform-generated attestation statement.
Additional client-provided values decoded from the sequence stored in a dedicated TBS CSR attribute.
Constrained value type for AttestationChallenge.additionalPayload.
Format-agnostic serializer for Map<String, Constrained>.
Selects how the client authenticates the data surrounding an attestation proof.
Constraints on the key to be created on the client. If properly set, allows for ridiculously hands-free key and attestation statement creation
Type discriminator and ASN.1 codec for Primitive values.
Properties
Functions
Tries to extract an attestation statement from a TBS CSR based on the proofOID specified in challenge
Tries to extract an attestation statement from a TBS CSR, given it is present as an attribute with oid
Returns the certificate matching the predicate that is closest to the root. Can be the root itself.
Returns the certificate matching the predicate that is closes to the root. Can be the root itself.
Tries to extract a device name from a TBS CSR if genericDeviceNameOID is specified in challenge
Tries to extract a device name from a TBS CSR, given it is present as an attribute with oid
Decodes these values using the ordered attribute description carried by challenge.
Scans json for excessive object or array nesting without parsing it. Brackets inside string literals (keys/values) are ignored. Throws SerializationException if depth exceeds MAX_JSON_NESTING_DEPTH. Cheap, single linear pass, no allocation.
Removes the public key and exactly one attestation-proof attribute identified by proofOid, producing the canonical input used by DataAuthentication.Hash.
Encodes only the additional attribute values, tagged by position, for storage in the TBS CSR.
Returns a list of certificates that contain an attestation extension; in-order.