Searched refs:Attestation (Results 1 – 3 of 3) sorted by relevance
19 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 …]
34 public class Attestation { class68 public Attestation(X509Certificate x509Cert) throws CertificateParsingException { in Attestation() method in Attestation78 … Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.ATTESTATION_CHALLENGE_INDEX)); in Attestation()80 uniqueId = Asn1Utils.getByteArrayFromAsn1(seq.getObjectAt(Attestation.UNIQUE_ID_INDEX)); in Attestation()
30 import android.keystore.cts.Attestation;378 Attestation attestationRecord = new Attestation((X509Certificate) leaf); in validateDeviceIdAttestationData()404 Attestation attestationRecord = new Attestation(leaf); in validateAttestationRecord()