Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 50) 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()
DNetworkSecurityConfig.java94 X509Certificate cert = anchor.certificate; in getTrustAnchors() local
134 public TrustAnchor findTrustAnchorBySubjectAndPublicKey(X509Certificate cert) { in findTrustAnchorBySubjectAndPublicKey()
145 public TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate cert) { in findTrustAnchorByIssuerAndSignature()
156 public Set<X509Certificate> findAllCertificatesByIssuerAndSignature(X509Certificate cert) { in findAllCertificatesByIssuerAndSignature()
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.java77 X509Certificate cert = readCertificate(caFile); in getCertificates() local
89 public X509Certificate findBySubjectAndPublicKey(final X509Certificate cert) { in findBySubjectAndPublicKey()
/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/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java118 public final void verify(String host, X509Certificate cert) in verify()
212 public static String[] getCNs(X509Certificate cert) { in getCNs()
241 public static String[] getDNSSubjectAlts(X509Certificate cert) { in getDNSSubjectAlts()
DX509HostnameVerifier.java71 void verify(String host, X509Certificate cert) throws SSLException; in verify()
/frameworks/native/libs/binder/tests/
DRpcTlsTestUtils.cpp73 auto cert = makeSelfSignedCert(pkey.get(), mValidSeconds); in configure() local
107 const std::vector<uint8_t>& cert) { in addTrustedPeerCertificate()
DRpcTlsUtilsTest.cpp70 auto cert = makeSelfSignedCert(pkey.get(), kCertValidSeconds); in TEST_P() local
100 auto cert = makeSelfSignedCert(deserializedPkey.get(), kCertValidSeconds); in TEST_P() local
/frameworks/base/keystore/tests/src/android/security/keystore2/
DAndroidKeyStoreSpiTest.java246 private static KeyMetadata metadata(byte[] cert, byte[] certChain) { in metadata()
262 MyPublicKey(String cert, String chain, KeyStoreSecurityLevel securityLevel) { in MyPublicKey()
273 private AndroidKeyStorePublicKey makePrivateKeyObject(String cert, String chain) { in makePrivateKeyObject()
DAndroidKeyStoreEdECPublicKeyTest.java48 private static KeyMetadata metadata(byte[] cert, byte[] certChain) { in metadata()
/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/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java79 X509Certificate cert = CertUtils.decodeCert(f); in decodeCert_readPemFile_succeeds_singleBlock() local
86 X509Certificate cert = CertUtils.decodeCert(in); in decodeCert_readPemFile_succeeds_multipleBlocks() local
110 X509Certificate cert = CertUtils.decodeCert(TestData.INTERMEDIATE_CA_2.getEncoded()); in decodeCert_readBytes_succeeds() local
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp76 bssl::UniquePtr<X509> cert; member
103 bssl::UniquePtr<X509> cert(sAuth.cert.get()); in createServerRpcAuth() local
/frameworks/native/libs/binder/tests/include_tls_test_utils/binder/
DRpcTlsTestUtils.h49 RpcAuthPreSigned(bssl::UniquePtr<EVP_PKEY> pkey, bssl::UniquePtr<X509> cert) in RpcAuthPreSigned()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DImsiEncryptionInfoTest.java76 private static PublicKey createPublicKey(String cert) throws Exception { in createPublicKey()
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java127 public boolean isUserAddedCertificate(X509Certificate cert) { in isUserAddedCertificate()
/frameworks/base/services/tests/VpnTests/java/android/net/
DIkev2VpnProfileTest.java530 public final X509Certificate cert; field in Ikev2VpnProfileTest.CertificateAndKey
533 CertificateAndKey(X509Certificate cert, PrivateKey key) { in CertificateAndKey()
560 final X509Certificate cert = certGen.generate(keyPair.getPrivate(), "AndroidOpenSSL"); in generateRandomCertAndKeyPair() local
/frameworks/base/core/java/android/content/pm/
DSignature.java228 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey() local
402 final X509Certificate cert = (X509Certificate) cf.generateCertificate(is); in bounce() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java655 String cert = null; in parseJsonAndPersistKey() local
804 X509Certificate cert = (X509Certificate) cf.generateCertificate(inStream); in getKeyInformation() local
833 public static String cleanCertString(String cert) { in cleanCertString()
/frameworks/base/identity/java/android/security/identity/
DCredstoreWritableIdentityCredential.java98 X509Certificate cert = profile.getReaderCertificate(); in personalize() local
DCredstorePresentationSession.java87 Certificate cert = ks.getCertificate(alias); in ensureEphemeralKeyPair() local

12