Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java104 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromProfile() local
105 certCredential.setCertType("x509v3"); in generateConfigurationFromProfile()
108 certCredential.setCertSha256Fingerprint(certSha256Fingerprint); in generateConfigurationFromProfile()
109 credential.setCertCredential(certCredential); in generateConfigurationFromProfile()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java156 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromPPSMOTree() local
157 certCredential.setCertType("x509v3"); in generateConfigurationFromPPSMOTree()
158 certCredential.setCertSha256Fingerprint(certFingerprint); in generateConfigurationFromPPSMOTree()
159 credential.setCertCredential(certCredential); in generateConfigurationFromPPSMOTree()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java135 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration() local
136 certCredential.setCertType("x509v3"); in createFullPasspointConfiguration()
137 certCredential.setCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
138 credential.setCertCredential(certCredential); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java168 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration() local
169 certCredential.setCertType("x509v3"); in createFullPasspointConfiguration()
170 certCredential.setCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
171 credential.setCertCredential(certCredential); in createFullPasspointConfiguration()
DPasspointProviderTest.java300 Credential.CertificateCredential certCredential = in generateTestPasspointConfiguration() local
303 certCredential.setCertSha256Fingerprint( in generateTestPasspointConfiguration()
310 certCredential.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in generateTestPasspointConfiguration()
312 credential.setCertCredential(certCredential); in generateTestPasspointConfiguration()
423 Credential.CertificateCredential certCredential = credential.getCertCredential(); in verifyWifiConfigWithTestData() local
523 Credential.CertificateCredential certCredential = credential.getCertCredential(); in installCertsAndKeysSuccess() local
572 Credential.CertificateCredential certCredential = credential.getCertCredential(); in installCertsAndKeysFailure() local
617 Credential.CertificateCredential certCredential = credential.getCertCredential(); in uninstallCertsAndKeys() local
DPasspointManagerTest.java1843 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in addLegacyPasspointConfigWithCertCredential() local
1844 certCredential.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in addLegacyPasspointConfigWithCertCredential()
1845 credential.setCertCredential(certCredential); in addLegacyPasspointConfigWithCertCredential()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java423 Credential.CertificateCredential certCredential) in serializeCertCredential() argument
425 if (certCredential == null) { in serializeCertCredential()
429 XmlUtil.writeNextValue(out, XML_TAG_CERT_TYPE, certCredential.getCertType()); in serializeCertCredential()
431 certCredential.getCertSha256Fingerprint()); in serializeCertCredential()
787 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in deserializeCertCredential() local
796 certCredential.setCertType((String) value); in deserializeCertCredential()
799 certCredential.setCertSha256Fingerprint((byte[]) value); in deserializeCertCredential()
806 return certCredential; in deserializeCertCredential()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DCredential.java626 CertificateCredential certCredential = new CertificateCredential();
627 certCredential.setCertType(in.readString());
628 certCredential.setCertSha256Fingerprint(in.createByteArray());
629 return certCredential;
644 public void setCertCredential(CertificateCredential certCredential) { in setCertCredential() argument
645 mCertCredential = certCredential; in setCertCredential()