Searched refs:attestation (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 515 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testAttestationKmVersionMatchesFeatureVersion() local 516 int kmVersionFromAttestation = attestation.keymasterVersion; in testAttestationKmVersionMatchesFeatureVersion() 616 … Attestation attestation = Attestation.loadFromCertificate((X509Certificate) certificates[0]); in testEcAttestation_UniqueIdWorksWithCorrectPermission() local 617 byte[] firstUniqueId = attestation.getUniqueId(); in testEcAttestation_UniqueIdWorksWithCorrectPermission() 629 attestation = Attestation.loadFromCertificate((X509Certificate) certificates[0]); in testEcAttestation_UniqueIdWorksWithCorrectPermission() 630 secondUniqueId = attestation.getUniqueId(); in testEcAttestation_UniqueIdWorksWithCorrectPermission() 1044 Attestation attestation = in generateAttestationAndExtractRoT() local 1046 return attestation.getRootOfTrust(); in generateAttestationAndExtractRoT() 1108 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testCurve25519Attestations() local 1110 checkEcKeyDetails(attestation, "CURVE_25519", 256); in testCurve25519Attestations() [all …]
|
D | DeviceOwnerKeyManagementTest.java | 34 import static com.google.android.attestation.ParsedAttestationRecord.createParsedAttestationRecord; 69 import com.google.android.attestation.ParsedAttestationRecord; 259 com.google.android.attestation.AuthorizationList teeAttestation = in validateDeviceIdAttestationDataUsingExtLib() 316 private void validateAttestationRecord(List<Certificate> attestation, byte[] providedChallenge) in validateAttestationRecord() argument 318 assertThat(attestation).isNotNull(); in validateAttestationRecord() 319 assertThat(attestation.size()).isGreaterThan(1); in validateAttestationRecord() 320 X509Certificate leaf = (X509Certificate) attestation.get(0); in validateAttestationRecord() 417 List<Certificate> attestation = generated.getAttestationRecord(); in generateKeyAndCheckAttestation() local 418 validateAttestationRecord(attestation, attestationChallenge); in generateKeyAndCheckAttestation() 419 validateSignatureChain(attestation, keyPair.getPublic()); in generateKeyAndCheckAttestation() [all …]
|
/cts/tests/security/src/android/keystore/cts/ |
D | Attestation.java | 96 Attestation attestation = new Asn1Attestation(x509Cert, strictParsing); in loadFromCertificate() local 98 && attestation.getKeymasterVersion() >= KM_VERSION_KEYMINT_3) { in loadFromCertificate() 102 return attestation; in loadFromCertificate()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | KeystoreAttestationDeviceInfo.java | 25 import static com.google.android.attestation.ParsedAttestationRecord.createParsedAttestationRecord; 38 import com.google.android.attestation.AuthorizationList; 39 import com.google.android.attestation.ParsedAttestationRecord; 40 import com.google.android.attestation.RootOfTrust;
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 298 private void validateAttestationRecord(List<Certificate> attestation, byte[] providedChallenge) in validateAttestationRecord() argument 300 assertThat(attestation).isNotNull(); in validateAttestationRecord() 301 assertThat(attestation.size()).isGreaterThan(1); in validateAttestationRecord() 302 X509Certificate leaf = (X509Certificate) attestation.get(0); in validateAttestationRecord() 392 List<Certificate> attestation = generated.getAttestationRecord(); in generateKeyAndCheckAttestation() local 393 validateAttestationRecord(attestation, attestationChallenge); in generateKeyAndCheckAttestation() 394 validateSignatureChain(attestation, keyPair.getPublic()); in generateKeyAndCheckAttestation() 395 return attestation.get(0); in generateKeyAndCheckAttestation() 494 Certificate attestation = generateKeyAndCheckAttestation( in assertAllVariantsOfDeviceIdAttestation() local 499 if (attestation == null && !isDeviceIdAttestationSupported()) { in assertAllVariantsOfDeviceIdAttestation() [all …]
|
/cts/common/device-side/device-info/ |
D | Android.bp | 32 "android-key-attestation",
|
/cts/tests/tests/keystore/ |
D | Android.bp | 69 "android-key-attestation",
|