/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; 82 private final Hashtable<String, Certificate[]> certificates = 83 new Hashtable<String, Certificate[]>(5); 85 private final Hashtable<String, Certificate[][]> verifiedEntries = 86 new Hashtable<String, Certificate[][]>(); 100 private final Certificate[][] certChains; 102 private final Hashtable<String, Certificate[][]> verifiedEntries; 105 Certificate[][] certChains, Hashtable<String, Certificate[][]> verifedEntries) { in VerifierEntry() 211 ArrayList<Certificate[]> certChains = new ArrayList<Certificate[]>(); in initEntry() 219 Certificate[] certChain = certificates.get(signatureFile); in initEntry() [all …]
|
D | StrictJarFile.java | 25 import java.security.cert.Certificate; 135 public Certificate[][] getCertificateChains(ZipEntry ze) { in getCertificateChains() 154 public Certificate[] getCertificates(ZipEntry ze) { in getCertificates() 156 Certificate[][] certChains = verifier.getCertificateChains(ze.getName()); in getCertificates() 160 for (Certificate[] chain : certChains) { in getCertificates() 165 Certificate[] certs = new Certificate[count]; in getCertificates() 167 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 | 28 import java.security.cert.Certificate;
|
/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 | 41 import java.security.cert.Certificate; 509 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
|
D | KeyPairGeneratorSpec.java | 30 import java.security.cert.Certificate;
|
/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 | 23 import java.security.cert.Certificate; 289 Certificate cert = keyStore.getCertificate(alias); in getCert() 300 Certificate cert = keyStore.getCertificate( in getRootCerts() 329 public void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
|
D | ClientKeyManager.java | 14 import java.security.cert.Certificate; 89 for (Certificate certificate : in getCertificateChain()
|
D | OSUManager.java | 38 import java.security.cert.Certificate; 146 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 172 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 226 Certificate cert = certFactory.generateCertificate(in); in readCertsFromDisk() 940 Certificate cert = keyStore.getCertificate(alias); in deleteCerts()
|
/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/media/java/android/media/ |
D | MediaDrm.java | 905 private native Certificate provideProvisionResponseNative(@NonNull byte[] response) in provideProvisionResponseNative() 1220 public static final class Certificate { class 1221 Certificate() {} in Certificate() method in Certificate 1274 public Certificate provideCertificateResponse(@NonNull byte[] response) in provideCertificateResponse()
|
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
D | Credential.java | 20 Certificate, enumConstant
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/ |
D | Credential.java | 20 Certificate, enumConstant
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | ConfigBuilder.java | 31 import java.security.cert.Certificate; 144 Certificate[] chain = ks.getCertificateChain(alias); in parse() 147 for (Certificate certificate : chain) { in parse()
|
/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()
|