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.java56 Credential.CertificateCredential certCred, in createCredential() argument
66 cred.setCertCredential(certCred); in createCredential()
85 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential() local
86 certCred.setCertType("x509v3"); in createCredentialWithCertificateCredential()
87 certCred.setCertSha256Fingerprint( in createCredentialWithCertificateCredential()
89 return createCredential(null, certCred, null, new X509Certificate[] {FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
576 Credential certCred = createCredentialWithCertificateCredential(); in testUniqueIdDifferentForDifferentCredentialTypes() local
580 assertNotEquals(simCred.getUniqueId(), certCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
581 assertNotEquals(certCred.getUniqueId(), userCred.getUniqueId()); in testUniqueIdDifferentForDifferentCredentialTypes()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java552 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential() local
553 certCred.setCertType("x509v3"); in createCredentialWithCertificateCredential()
555 certCred.setCertSha256Fingerprint( in createCredentialWithCertificateCredential()
558 certCred.setCertSha256Fingerprint(MessageDigest.getInstance("SHA-256") in createCredentialWithCertificateCredential()
561 return createCredential(null, certCred, null, new X509Certificate[] {FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
594 Credential.CertificateCredential certCred, in createCredential() argument
604 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.java690 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in convertFromWifiConfig() local
691 certCred.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in convertFromWifiConfig()
692 credential.setCertCredential(certCred); in convertFromWifiConfig()