Searched refs:cert (Results 1 – 8 of 8) sorted by relevance
/build/tools/releasetools/ |
D | check_target_files_signatures | 89 def GetCertSubject(cert): argument 93 out, err = p.communicate(cert) 107 def Add(self, cert, name=None): argument 108 if cert in self.certs: 110 self.certs[cert] = self.certs[cert] + "," + name 113 name = "unknown cert %s (%s)" % (common.sha1(cert).hexdigest()[:12], 114 GetCertSubject(cert)) 115 self.certs[cert] = name 117 def Get(self, cert): argument 119 return self.certs.get(cert, None) [all …]
|
D | check_target_files_signatures.py | 89 def GetCertSubject(cert): argument 93 out, err = p.communicate(cert) 107 def Add(self, cert, name=None): argument 108 if cert in self.certs: 110 self.certs[cert] = self.certs[cert] + "," + name 113 name = "unknown cert %s (%s)" % (common.sha1(cert).hexdigest()[:12], 114 GetCertSubject(cert)) 115 self.certs[cert] = name 117 def Get(self, cert): argument 119 return self.certs.get(cert, None) [all …]
|
D | sign_target_files_apks | 101 for apk, cert in certmap.iteritems(): 102 certmap[apk] = OPTIONS.key_map.get(cert, cert) 105 for apk, cert in OPTIONS.extra_apks.iteritems(): 106 if not cert: 107 cert = "PRESIGNED" 108 certmap[apk] = OPTIONS.key_map.get(cert, cert)
|
D | sign_target_files_apks.py | 101 for apk, cert in certmap.iteritems(): 102 certmap[apk] = OPTIONS.key_map.get(cert, cert) 105 for apk, cert in OPTIONS.extra_apks.iteritems(): 106 if not cert: 107 cert = "PRESIGNED" 108 certmap[apk] = OPTIONS.key_map.get(cert, cert)
|
D | common.py | 621 name, cert, privkey = m.groups() 624 if cert in SPECIAL_CERT_STRINGS and not privkey: 625 certmap[name] = cert 626 elif (cert.endswith(OPTIONS.public_key_suffix) and 628 cert[:-public_key_suffix_len] == privkey[:-private_key_suffix_len]): 629 certmap[name] = cert[:-public_key_suffix_len] 1351 cert = [] 1357 cert.append(line) 1360 cert = "".join(cert).decode('base64') 1361 return cert
|
/build/tools/signapk/test/ |
D | run | 25 cert := out/key1.pem macro 26 out/signed-$(package): $(package) $(cert) 30 -key $(cert).pk -cert $(cert) -tempdir out
|
/build/tools/signapk/ |
D | SignApk.java | 24 import org.bouncycastle.cert.jcajce.JcaCertStore; 61 import java.security.cert.CertificateEncodingException; 62 import java.security.cert.CertificateFactory; 63 import java.security.cert.X509Certificate; 123 private static int getDigestAlgorithm(X509Certificate cert) { in getDigestAlgorithm() argument 124 String sigAlg = cert.getSigAlgName().toUpperCase(Locale.US); in getDigestAlgorithm() 132 "\" in cert [" + cert.getSubjectDN()); in getDigestAlgorithm() 137 private static String getSignatureAlgorithm(X509Certificate cert) { in getSignatureAlgorithm() argument 138 String sigAlg = cert.getSigAlgName().toUpperCase(Locale.US); in getSignatureAlgorithm() 139 String keyType = cert.getPublicKey().getAlgorithm().toUpperCase(Locale.US); in getSignatureAlgorithm() [all …]
|
/build/core/tasks/check_boot_jars/ |
D | package_whitelist.txt | 22 java\.security\.cert 45 javax\.security\.cert
|