Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java216 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation_NoChallenge() local
217 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testEcAttestation_NoChallenge()
334 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testRsaAttestation_NoChallenge() local
335 assertNull(attestationCert.getExtensionValue(Attestation.KEY_DESCRIPTION_OID)); in testRsaAttestation_NoChallenge()
436 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testRsaAttestation() local
437 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation()
440 checkKeyUsage(attestationCert, purposes); in testRsaAttestation()
448 private void checkKeyUsage(X509Certificate attestationCert, int purposes) { in checkKeyUsage() argument
458 assertThat(attestationCert.getKeyUsage(), is(expectedKeyUsage)); in checkKeyUsage()
490 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation() local
[all …]