Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DAttestation.java31 public class Attestation { class
62 public Attestation(X509Certificate x509Cert) throws CertificateParsingException { in Attestation() method in Attestation
71 … Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.ATTESTATION_CHALLENGE_INDEX)); in Attestation()
73 uniqueId = Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.UNIQUE_ID_INDEX)); in Attestation()
/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_TRUSTED_ENVIRONMENT;
213 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testEcAttestation_NoChallenge()
330 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testRsaAttestation_NoChallenge()
432 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation()
486 Attestation attestation = new Attestation(attestationCert); in testEcAttestation()
497 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId()
517 boolean includesValidityDates, Attestation attestation) in checkKeyIndependentAttestationInfo()
568 private void checkOrigin(Attestation attestation) { in checkOrigin()
587 private void checkFlags(Attestation attestation) { in checkFlags()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java27 import android.keystore.cts.Attestation;
338 Attestation attestationRecord = new Attestation((X509Certificate) leaf); in validateDeviceIdAttestationData()
356 Attestation attestationRecord = new Attestation(leaf); in validateAttestationRecord()