SecurityLevelValidationLevel

Configuration for validating the attestationSecurityLevel and keyMintSecurityLevel fields in an Android attestation certificate.

Inheritors

Types

Link copied to clipboard

Checks that the attestationSecurityLevel is equal to the keyMintSecurityLevel, regardless of security level.

Link copied to clipboard

Checks that the attestationSecurityLevel is equal to the keyMintSecurityLevel, and that this security level is not SecurityLevel.SOFTWARE.

Link copied to clipboard
@Immutable
data class STRICT(val expectedVal: SecurityLevel) : SecurityLevelValidationLevel

Checks that both the attestationSecurityLevel and keyMintSecurityLevel match the expected value.

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun isSatisfiedBy(extension: Any?): Boolean

Evaluates whether the extension is satisfied by this ValidationLevel.