Home
last modified time | relevance | path

Searched refs:Attestation (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java19 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_SOFTWARE;
20 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_STRONG_BOX;
21 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT;
235 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testEcAttestation_NoChallenge()
273 checkDeviceLocked(new Attestation(attestationCert)); in testEcAttestation_DeviceLocked()
403 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testRsaAttestation_NoChallenge()
442 checkDeviceLocked(new Attestation(attestationCert)); in testRsaAttestation_DeviceLocked()
560 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation()
619 Attestation attestation = new Attestation(attestationCert); in testEcAttestation()
630 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId()
[all …]
/cts/tests/security/src/android/keystore/cts/
DAttestation.java34 public class Attestation { class
68 public Attestation(X509Certificate x509Cert) throws CertificateParsingException { in Attestation() method in Attestation
78 … Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.ATTESTATION_CHALLENGE_INDEX)); in Attestation()
80 uniqueId = Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.UNIQUE_ID_INDEX)); in Attestation()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java30 import android.keystore.cts.Attestation;
378 Attestation attestationRecord = new Attestation((X509Certificate) leaf); in validateDeviceIdAttestationData()
404 Attestation attestationRecord = new Attestation(leaf); in validateAttestationRecord()