/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
D | MediaDrmSigner.java | 66 public final static class Certificate { class in MediaDrmSigner 67 private final MediaDrm.Certificate mCertificate; 69 Certificate(MediaDrm.Certificate certificate) { in Certificate() method in MediaDrmSigner.Certificate 118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) in provideCertificateResponse() 120 return new Certificate(drm.provideCertificateResponse(response)); in provideCertificateResponse()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 27 import java.security.cert.Certificate; 78 private final Hashtable<String, Certificate[]> certificates = 79 new Hashtable<String, Certificate[]>(5); 81 private final Hashtable<String, Certificate[][]> verifiedEntries = 82 new Hashtable<String, Certificate[][]>(); 96 private final Certificate[][] certChains; 98 private final Hashtable<String, Certificate[][]> verifiedEntries; 101 Certificate[][] certChains, Hashtable<String, Certificate[][]> verifedEntries) { in VerifierEntry() 207 ArrayList<Certificate[]> certChains = new ArrayList<Certificate[]>(); in initEntry() 215 Certificate[] certChain = certificates.get(signatureFile); in initEntry() [all …]
|
D | StrictJarFile.java | 29 import java.security.cert.Certificate; 164 public Certificate[][] getCertificateChains(ZipEntry ze) { in getCertificateChains() 183 public Certificate[] getCertificates(ZipEntry ze) { in getCertificates() 185 Certificate[][] certChains = verifier.getCertificateChains(ze.getName()); in getCertificates() 189 for (Certificate[] chain : certChains) { in getCertificates() 194 Certificate[] certs = new Certificate[count]; in getCertificates() 196 for (Certificate[] chain : certChains) { in getCertificates()
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 41 import java.security.cert.Certificate; 906 Certificate retrieved = mKeyStore.getCertificate(TEST_ALIAS_1); in testKeyStore_GetCertificate_Single_Encrypted_Success() 911 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Encrypted_Success() 934 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_Encrypted_Success() 954 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Encrypted_Success() 979 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_CAEntry_WithPrivateKeyUsingCA_Encrypted_Success() 992 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificateAlias_NonExist_Empty_Encrypted_Failure() 1007 Certificate userCert = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1)); in testKeyStore_GetCertificateAlias_NonExist_Encrypted_Failure() 1026 Certificate[] expected = new Certificate[2]; in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() 1030 Certificate[] actual = mKeyStore.getCertificateChain(TEST_ALIAS_1); in testKeyStore_GetCertificateChain_SingleLength_Encrypted_Success() [all …]
|
D | AndroidKeyPairGeneratorTest.java | 33 import java.security.cert.Certificate; 372 final Certificate userCert = in assertKeyPairCorrect()
|
/frameworks/base/core/java/android/security/net/config/ |
D | TrustedCertificateStoreAdapter.java | 20 import java.security.cert.Certificate; 78 public Certificate getCertificate(String alias) { in getCertificate() 83 public Certificate getCertificate(String alias, boolean includeDeletedSystem) { in getCertificate() 113 public String getCertificateAlias(Certificate c) { in getCertificateAlias() 118 public String getCertificateAlias(Certificate c, boolean includeDeletedSystem) { in getCertificateAlias()
|
D | ResourceCertificateSource.java | 23 import java.security.cert.Certificate; 56 Collection<? extends Certificate> certs; in ensureInitialized() 69 for (Certificate cert : certs) { in ensureInitialized()
|
D | KeyStoreCertificateSource.java | 22 import java.security.cert.Certificate;
|
D | DirectoryCertificateSource.java | 29 import java.security.cert.Certificate;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 31 import java.security.cert.Certificate; 71 private static boolean hasHardwareBackedKey(Certificate certificate) { in hasHardwareBackedKey() 88 Certificate[] clientCertificateChain = config.getClientCertificateChain(); in installKeys() 169 public boolean putCertInKeyStore(String name, Certificate cert) { in putCertInKeyStore() 170 return putCertsInKeyStore(name, new Certificate[] {cert}); in putCertInKeyStore() 180 public boolean putCertsInKeyStore(String name, Certificate[] certs) { in putCertsInKeyStore()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 28 import java.security.cert.Certificate; 46 private Certificate[] mCertificateChain; 63 public Signature(Certificate[] certificateChain) throws CertificateEncodingException { in Signature() 176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey() 196 for (Certificate c : mCertificateChain) { in getChainSignatures()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreSpi.java | 47 import java.security.cert.Certificate; 107 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain() 117 final Certificate[] caList; in engineGetCertificateChain() 123 caList = new Certificate[caChain.size() + 1]; in engineGetCertificateChain() 131 caList = new Certificate[1]; in engineGetCertificateChain() 140 public Certificate engineGetCertificate(String alias) { in engineGetCertificate() 159 private Certificate getCertificateForTrustedCertificateEntry(byte[] encodedCert) { in getCertificateForTrustedCertificateEntry() 166 private Certificate getCertificateForPrivateKeyEntry(String alias, byte[] encodedCert) { in getCertificateForPrivateKeyEntry() 272 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry() 340 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, in setPrivateKeyEntry() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 37 import java.security.cert.Certificate; 131 public static byte[] convertToPem(Certificate... objects) in convertToPem() 136 for (Certificate o : objects) { in convertToPem() 159 … Certificate c = cf.generateCertificate(new ByteArrayInputStream(o.getContent())); in convertFromPem()
|
D | KeyChain.java | 46 import java.security.cert.Certificate; 572 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | WiFiKeyManager.java | 12 import java.security.cert.Certificate; 45 Certificate cert = mKeyStore.getCertificate(alias); in enableClientAuth() 151 for (Certificate certificate : mKeyStore.getCertificateChain(alias)) { in getCertificateChain()
|
D | OSUSocketFactory.java | 24 import java.security.cert.Certificate; 293 Certificate cert = keyStore.getCertificate(alias); in getCert() 304 Certificate cert = keyStore.getCertificate( in getRootCerts() 333 public void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
|
D | ClientKeyManager.java | 15 import java.security.cert.Certificate; 89 Certificate cert = mKeyStore.getCertificate(alias); in getCertificateChain()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 37 import java.security.cert.Certificate; 99 Certificate[] certs = session.getPeerCertificates(); in verify() 106 Certificate[] certs = session.getPeerCertificates(); in verify()
|
/frameworks/base/wifi/tests/assets/hsr1/ |
D | README.txt | 1 …ithCACert.conf - unencoded installation file that contains a Passpoint profile and a CA Certificate
|
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
D | Credential.java | 20 Certificate, enumConstant
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | ConfigParser.java | 33 import java.security.cert.Certificate; 467 Certificate[] chain = ks.getCertificateChain(alias); in parsePkcs12() 470 for (Certificate certificate : chain) { in parsePkcs12()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 916 private native Certificate provideProvisionResponseNative(@NonNull byte[] response) in provideProvisionResponseNative() 1231 public static final class Certificate { class 1232 Certificate() {} in Certificate() method in Certificate 1285 public Certificate provideCertificateResponse(@NonNull byte[] response) in provideCertificateResponse()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
D | PlatformAdapter.java | 41 import java.security.cert.Certificate; 109 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 135 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 413 Certificate cert = keyStore.getCertificate(alias); in deleteCerts()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | NetworkSecurityConfigTests.java | 28 import java.security.cert.Certificate; 89 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES));
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 32 import java.security.cert.Certificate; 132 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()
|