Home
last modified time | relevance | path

Searched refs:Certificate (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java66 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/
DStrictJarVerifier.java29 import java.security.cert.Certificate;
90 private final Hashtable<String, Certificate[]> certificates =
91 new Hashtable<String, Certificate[]>(5);
93 private final Hashtable<String, Certificate[][]> verifiedEntries =
94 new Hashtable<String, Certificate[][]>();
108 private final Certificate[][] certChains;
110 private final Hashtable<String, Certificate[][]> verifiedEntries;
113 Certificate[][] certChains, Hashtable<String, Certificate[][]> verifedEntries) { in VerifierEntry()
219 ArrayList<Certificate[]> certChains = new ArrayList<Certificate[]>(); in initEntry()
227 Certificate[] certChain = certificates.get(signatureFile); in initEntry()
[all …]
DStrictJarFile.java29 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/java/android/security/
DAttestedKeyPair.java20 import java.security.cert.Certificate;
36 private final Certificate[] mAttestationRecord;
41 public AttestedKeyPair(KeyPair keyPair, Certificate[] attestationRecord) { in AttestedKeyPair()
69 public List<Certificate> getAttestationRecord() { in getAttestationRecord()
DCredentials.java33 import java.security.cert.Certificate;
135 public static byte[] convertToPem(Certificate... objects) in convertToPem()
140 for (Certificate o : objects) { in convertToPem()
163Certificate c = cf.generateCertificate(new ByteArrayInputStream(o.getContent())); in convertFromPem()
DKeyChain.java50 import java.security.cert.Certificate;
739 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
DKeyPairGeneratorSpec.java30 import java.security.cert.Certificate;
/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java42 import java.security.cert.Certificate;
81 Certificate[][] signerCerts = new Certificate[][] { vSigner.certs }; in verify()
121 Certificate[][] signerCerts = ApkSignatureSchemeV2Verifier.verify(apkPath); in verify()
166 final Certificate[][] lastCerts; in verifyV1Signature()
210 final Certificate[][] entryCerts = loadCertificates(jarFile, entry); in verifyV1Signature()
240 private static Certificate[][] loadCertificates(StrictJarFile jarFile, ZipEntry entry) in loadCertificates()
279 public static Signature[] convertToSignatures(Certificate[][] certs) in convertToSignatures()
321 Certificate[][] signerCerts = new Certificate[][] { vSigner.certs }; in unsafeGetCertsWithoutVerification()
361 Certificate[][] signerCerts = in unsafeGetCertsWithoutVerification()
453 public final Certificate[][] certs;
[all …]
/frameworks/base/core/java/android/security/net/config/
DTrustedCertificateStoreAdapter.java20 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()
DResourceCertificateSource.java23 import java.security.cert.Certificate;
56 Collection<? extends Certificate> certs; in ensureInitialized()
69 for (Certificate cert : certs) { in ensureInitialized()
DKeyStoreCertificateSource.java22 import java.security.cert.Certificate;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java33 import java.security.cert.Certificate;
74 private static boolean hasHardwareBackedKey(Certificate certificate) { in hasHardwareBackedKey()
91 Certificate[] clientCertificateChain = config.getClientCertificateChain(); in installKeys()
172 public boolean putCertInKeyStore(String name, Certificate cert) { in putCertInKeyStore()
173 return putCertsInKeyStore(name, new Certificate[] {cert}); in putCertInKeyStore()
183 public boolean putCertsInKeyStore(String name, Certificate[] certs) { in putCertsInKeyStore()
/frameworks/base/core/java/android/content/pm/
DSignature.java29 import java.security.cert.Certificate;
47 private Certificate[] mCertificateChain;
78 public Signature(Certificate[] certificateChain) throws CertificateEncodingException { in Signature()
208 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
228 for (Certificate c : mCertificateChain) { in getChainSignatures()
/frameworks/base/media/lib/signer/api/
Dcurrent.txt6 …method public static com.android.mediadrm.signer.MediaDrmSigner.Certificate provideCertificateResp…
11 public static final class MediaDrmSigner.Certificate {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java24 import java.security.cert.Certificate;
54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java52 import java.security.cert.Certificate;
115 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain()
125 final Certificate[] caList; in engineGetCertificateChain()
138 caList = new Certificate[caChain.size() + 1]; in engineGetCertificateChain()
146 caList = new Certificate[1]; in engineGetCertificateChain()
155 public Certificate engineGetCertificate(String alias) { in engineGetCertificate()
174 private Certificate getCertificateForTrustedCertificateEntry(byte[] encodedCert) { in getCertificateForTrustedCertificateEntry()
181 private Certificate getCertificateForPrivateKeyEntry(String alias, byte[] encodedCert) { in getCertificateForPrivateKeyEntry()
287 public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) in engineSetKeyEntry()
355 private void setPrivateKeyEntry(String alias, PrivateKey key, Certificate[] chain, in setPrivateKeyEntry()
[all …]
/frameworks/base/identity/java/android/security/identity/
DCredstoreWritableIdentityCredential.java24 import java.security.cert.Certificate;
56 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain()
65 for (Certificate cert : certs) { in getCredentialKeyCertificateChain()
DCredstoreIdentityCredential.java35 import java.security.cert.Certificate;
98 Certificate cert = ks.getCertificate(alias); in ensureEphemeralKeyPair()
218 Collection<? extends Certificate> certs = null; in getCredentialKeyCertificateChain()
227 for (Certificate cert : certs) { in getCredentialKeyCertificateChain()
370 Collection<? extends Certificate> certs = null; in getAuthKeysNeedingCertification()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java37 import java.security.cert.Certificate;
101 Certificate[] certs = session.getPeerCertificates(); in verify()
108 Certificate[] certs = session.getPeerCertificates(); in verify()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java31 import java.security.cert.Certificate;
136 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest()
/frameworks/base/wifi/tests/assets/hsr1/
DREADME.txt1 …ithCACert.conf - unencoded installation file that contains a Passpoint profile and a CA Certificate
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java33 import java.security.cert.Certificate;
467 Certificate[] chain = ks.getCertificateChain(alias); in parsePkcs12()
470 for (Certificate certificate : chain) { in parsePkcs12()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java29 import java.security.cert.Certificate;
90 Certificate cert = factory.generateCertificate(new ByteArrayInputStream(TEST_CA_BYTES));
/frameworks/base/media/java/android/media/
DMediaDrm.java1216 private native Certificate provideProvisionResponseNative(@NonNull byte[] response)
1857 public static final class Certificate {
1858 Certificate() {}
1914 public Certificate provideCertificateResponse(@NonNull byte[] response)
/frameworks/base/core/java/android/net/http/
DSslCertificate.java35 import java.security.cert.Certificate;
134 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()

12