Searched refs:Attestation (Results 1 – 8 of 8) sorted by relevance
33 public abstract class Attestation { class72 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
34 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()
24 public class Asn1Attestation extends Attestation {72 byte[] attestationExtensionBytes = x509Cert.getExtensionValue(Attestation.ASN1_OID); in getAttestationSequence()
746 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()
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;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 …]
104 Attestation attestation = Attestation.loadFromCertificate(attestationCert); in testEcAttestKey()
178 if (TestUtils.getFeatureVersionKeystore(context) >= Attestation.KM_VERSION_KEYMINT_1) { in generateEphemeralAndroidKeyPair()
34 import android.keystore.cts.Attestation;293 Attestation attestationRecord = Attestation.loadFromCertificate((X509Certificate) leaf); in validateDeviceIdAttestationData()311 Attestation attestationRecord = Attestation.loadFromCertificate(leaf); in validateAttestationRecord()