Home
last modified time | relevance | path

Searched refs:getKeymasterVersion (Results 1 – 4 of 4) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAttestation.java98 && attestation.getKeymasterVersion() >= KM_VERSION_KEYMINT_3) { in loadFromCertificate()
131 public int getKeymasterVersion() { in getKeymasterVersion() method in Attestation
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java1246 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()
1404 if (attestation.getKeymasterVersion() != 0) { in checkOrigin()
1414 } else if (attestation.getKeymasterVersion() == 0) { in checkOrigin()
1455 attestation.getKeymasterVersion() == Attestation.KM_VERSION_KEYMINT_1; in checkValidityPeriod()
1463 attestation.getKeymasterVersion() >= Attestation.KM_VERSION_KEYMINT_1; in checkValidityPeriod()
1534 || attestation.getKeymasterVersion() == 0) { in checkDigests()
1538 if (attestation.getKeymasterVersion() == 1) { in checkDigests()
1557 || attestation.getKeymasterVersion() == 0) { in checkPurposes()
1600 assertThat("KeyMaster version is not valid.", attestation.getKeymasterVersion(), in checkAttestationSecurityLevelDependentParams()
1614 assertThat("KeyMaster version is not valid.", attestation.getKeymasterVersion(), in checkAttestationSecurityLevelDependentParams()
[all …]
DDeviceOwnerKeyManagementTest.java559 attestation.getKeymasterVersion(), greaterThanOrEqualTo(2)); in isDeviceLockedAccordingToAttestation()
/cts/tests/tests/identity/src/android/security/identity/cts/
DParsedAttestationRecord.java83 public int getKeymasterVersion() { in getKeymasterVersion() method in ParsedAttestationRecord