Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DAttestation.java33 public abstract class Attestation { class
72 public static Attestation loadFromCertificate(X509Certificate x509Cert) in loadFromCertificate()
74 return Attestation.loadFromCertificate(x509Cert, true); in loadFromCertificate()
76 public static Attestation loadFromCertificate(X509Certificate x509Cert, boolean strictParsing) in loadFromCertificate()
95 Attestation(X509Certificate x509Cert) { in Attestation() method in Attestation
DEatAttestation.java34 public class EatAttestation extends Attestation {
135 byte[] attestationExtensionBytes = x509Cert.getExtensionValue(Attestation.EAT_OID); in getEatExtension()
148 return Attestation.KM_SECURITY_LEVEL_SOFTWARE; in eatSecurityLevelToKeymintSecurityLevel()
150 return Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT; in eatSecurityLevelToKeymintSecurityLevel()
152 return Attestation.KM_SECURITY_LEVEL_STRONG_BOX; in eatSecurityLevelToKeymintSecurityLevel()
DAsn1Attestation.java24 public class Asn1Attestation extends Attestation {
72 byte[] attestationExtensionBytes = x509Cert.getExtensionValue(Attestation.ASN1_OID); in getAttestationSequence()
DAuthorizationList.java746 return Attestation.KM_SECURITY_LEVEL_SOFTWARE; in eatSecurityLevelToKeymasterSecurityLevel()
748 return Attestation.KM_SECURITY_LEVEL_TRUSTED_ENVIRONMENT; in eatSecurityLevelToKeymasterSecurityLevel()
750 return Attestation.KM_SECURITY_LEVEL_STRONG_BOX; in eatSecurityLevelToKeymasterSecurityLevel()
/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;
266 assertNull(attestationCert.getExtensionValue(Attestation.ASN1_OID)); in testEcAttestation_NoChallenge()
267 assertNull(attestationCert.getExtensionValue(Attestation.EAT_OID)); in testEcAttestation_NoChallenge()
313 checkDeviceLocked(Attestation.loadFromCertificate(attestationCert)); in testEcAttestation_DeviceLocked()
344 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testAttestationKmVersionMatchesFeatureVersion()
398 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testAttestationKmVersionMatchesFeatureVersionStrongBox()
555 assertNull(attestationCert.getExtensionValue(Attestation.ASN1_OID)); in testRsaAttestation_NoChallenge()
601 checkDeviceLocked(Attestation.loadFromCertificate(attestationCert)); in testRsaAttestation_DeviceLocked()
[all …]
DAttestKeyTest.java104 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testEcAttestKey()
DKeyAgreementTest.java178 if (TestUtils.getFeatureVersionKeystore(context) >= Attestation.KM_VERSION_KEYMINT_1) { in generateEphemeralAndroidKeyPair()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java34 import android.keystore.cts.Attestation;
293 Attestation attestationRecord = Attestation.loadFromCertificate((X509Certificate) leaf); in validateDeviceIdAttestationData()
311 Attestation attestationRecord = Attestation.loadFromCertificate(leaf); in validateAttestationRecord()