Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java55 Credential.CertificateCredential certCred, in createCredential() argument
65 cred.setCertCredential(certCred); in createCredential()
84 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential() local
85 certCred.setCertType("x509v3"); in createCredentialWithCertificateCredential()
86 certCred.setCertSha256Fingerprint( in createCredentialWithCertificateCredential()
88 return createCredential(null, certCred, null, new X509Certificate[] {FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
575 Credential certCred = createCredentialWithCertificateCredential(); in testUniqueIdDifferentForDifferentCredentialTypes() local
579 assertNotEquals(simCred.getUniqueId(), certCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
580 assertNotEquals(certCred.getUniqueId(), userCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java545 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential() local
546 certCred.setCertType("x509v3"); in createCredentialWithCertificateCredential()
548 certCred.setCertSha256Fingerprint( in createCredentialWithCertificateCredential()
551 certCred.setCertSha256Fingerprint(MessageDigest.getInstance("SHA-256") in createCredentialWithCertificateCredential()
554 return createCredential(null, certCred, null, new X509Certificate[] {FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
587 Credential.CertificateCredential certCred, in createCredential() argument
597 cred.setCertCredential(certCred); in createCredential()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java1079 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in parseCertificateCredential() local
1083 certCred.setCertType(getPpsNodeValue(child)); in parseCertificateCredential()
1086 certCred.setCertSha256Fingerprint(parseHexString(getPpsNodeValue(child))); in parseCertificateCredential()
1093 return certCred; in parseCertificateCredential()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java635 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in convertFromWifiConfig() local
636 certCred.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in convertFromWifiConfig()
637 credential.setCertCredential(certCred); in convertFromWifiConfig()