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.java22 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_SOFTWARE;
23 import static android.keystore.cts.Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT;
217 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testEcAttestation_NoChallenge()
335 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testRsaAttestation_NoChallenge()
437 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation()
491 Attestation attestation = new Attestation(attestationCert); in testEcAttestation()
502 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId()
522 boolean includesValidityDates, Attestation attestation) in checkKeyIndependentAttestationInfo()
573 private void checkOrigin(Attestation attestation) { in checkOrigin()
592 private void checkFlags(Attestation attestation) { in checkFlags()
[all …]
/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()