Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/security/net/config/
DCertificateSource.java25 X509Certificate findBySubjectAndPublicKey(X509Certificate cert); in findBySubjectAndPublicKey()
26 X509Certificate findByIssuerAndSignature(X509Certificate cert); in findByIssuerAndSignature()
27 Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert); in findAllByIssuerAndSignature()
DKeyStoreCertificateSource.java61 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in ensureInitialized() local
76 public X509Certificate findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
86 public X509Certificate findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
96 public Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
DCertificatesEntryRef.java46 public TrustAnchor findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
55 public TrustAnchor findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
64 public Set<X509Certificate> findAllCertificatesByIssuerAndSignature(X509Certificate cert) { in findAllCertificatesByIssuerAndSignature()
DTrustedCertificateStoreAdapter.java36 public X509Certificate findIssuer(X509Certificate cert) { in findIssuer()
45 public Set<X509Certificate> findAllIssuers(X509Certificate cert) { in findAllIssuers()
50 public X509Certificate getTrustAnchor(X509Certificate cert) { in getTrustAnchor()
59 public boolean isUserAddedCertificate(X509Certificate cert) { in isUserAddedCertificate()
DResourceCertificateSource.java86 public X509Certificate findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
96 public X509Certificate findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
106 public Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
DDirectoryCertificateSource.java80 X509Certificate cert = readCertificate(caFile); in getCertificates() local
92 public X509Certificate findBySubjectAndPublicKey(final X509Certificate cert) { in findBySubjectAndPublicKey()
DNetworkSecurityConfig.java86 X509Certificate cert = anchor.certificate; in getTrustAnchors() local
121 public TrustAnchor findTrustAnchorBySubjectAndPublicKey(X509Certificate cert) { in findTrustAnchorBySubjectAndPublicKey()
132 public TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate cert) { in findTrustAnchorByIssuerAndSignature()
143 public Set<X509Certificate> findAllCertificatesByIssuerAndSignature(X509Certificate cert) { in findAllCertificatesByIssuerAndSignature()
DNetworkSecurityTrustManager.java129 X509Certificate cert = chain.get(i); in checkPins() local
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestCertificateSource.java43 public X509Certificate findBySubjectAndPublicKey(X509Certificate cert) { in findBySubjectAndPublicKey()
52 public X509Certificate findByIssuerAndSignature(X509Certificate cert) { in findByIssuerAndSignature()
61 public Set<X509Certificate> findAllByIssuerAndSignature(X509Certificate cert) { in findAllByIssuerAndSignature()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java68 X509Certificate cert = (X509Certificate) certFactory.generateCertificate(bis); in buildCertSet() local
254 X509Certificate cert = getCert(mKeyStore, prefix + mHomeSP.getFQDN()); in checkServerTrusted() local
289 Certificate cert = keyStore.getCertificate(alias); in getCert() local
300 Certificate cert = keyStore.getCertificate( in getRootCerts() local
329 public void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
DOSUManager.java146 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() local
172 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() local
226 Certificate cert = certFactory.generateCertificate(in); in readCertsFromDisk() local
940 Certificate cert = keyStore.getCertificate(alias); in deleteCerts() local
DWiFiKeyManager.java45 Certificate cert = mKeyStore.getCertificate(alias); in enableClientAuth() local
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java116 public final void verify(String host, X509Certificate cert) in verify()
210 public static String[] getCNs(X509Certificate cert) { in getCNs()
239 public static String[] getDNSSubjectAlts(X509Certificate cert) { in getDNSSubjectAlts()
DX509HostnameVerifier.java71 void verify(String host, X509Certificate cert) throws SSLException; in verify()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyStoreTest.java1179 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals()
1422 final Certificate cert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_CAExists_Overwrite_Encrypted_Success() local
1444 final Certificate cert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_SetCertificate_PrivateKeyExists_Encrypted_Failure() local
1932 final X509Certificate cert = certGen.generate(keyPair.getPrivate()); in generateCertificate() local
2003 X509Certificate cert = generateCertificate(mAndroidKeyStore, TEST_ALIAS_1, in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Encrypted_Failure() local
2016 X509Certificate cert = generateCertificate(mAndroidKeyStore, TEST_ALIAS_2, in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Encrypted_Failure() local
2027 X509Certificate cert = generateCertificate(mAndroidKeyStore, TEST_ALIAS_2, in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Encrypted_Failure() local
2049 X509Certificate cert = in testKeyStore_SetKeyEntry_ReplacedChain_UnencryptedToEncrypted_Failure() local
2169 X509Certificate cert = generateCertificate(mAndroidKeyStore, TEST_ALIAS_1, TEST_SERIAL_1, in setupKey() local
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java176 String signature, X509Certificate cert) throws Exception { in verifySignature()
195 private String runTest(String cert, String content, String version, String required, String sig) in runTest()
205 private String runTestWithoutSig(String cert, String content, String version, String required) in runTestWithoutSig()
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java129 public boolean isUserAddedCertificate(X509Certificate cert) { in isUserAddedCertificate()
DSslError.java140 int error, SslCertificate cert, String url) { in SslErrorFromChromiumErrorCode()
DSslCertificate.java132 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState() local
/frameworks/base/core/java/android/content/pm/
DSignature.java176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey() local
296 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce() local
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java171 String cert = parser.getAttributeValue(null, "signature"); in readSignerOrThrow() local
474 public PolicyBuilder addSignature(String cert) { in addSignature()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java180 X509Certificate cert = toCertificate(encodedCert); in getCertificateForPrivateKeyEntry() local
744 public void engineSetCertificateEntry(String alias, Certificate cert) throws KeyStoreException { in engineSetCertificateEntry()
854 public String engineGetCertificateAlias(Certificate cert) { in engineGetCertificateAlias()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java192 private void writeCertificates(Parcel dest, X509Certificate[] cert) { in writeCertificates()
203 private void writeCertificate(Parcel dest, X509Certificate cert) { in writeCertificate()
673 public void setCaCertificate(@Nullable X509Certificate cert) { in setCaCertificate()
/frameworks/base/keystore/java/android/security/
DKeyChain.java516 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate() local
/frameworks/base/core/java/android/os/
DRecoverySystem.java232 X509Certificate cert = certificates[0]; in verifyPackage() local

12