Lines Matching defs:cert
168 * Loop over a signer tag looking for seinfo, package and cert tags. A {@link Policy}
187 // Check for a cert attached to the signer tag. We allow a signature
188 // to appear as an attribute as well as those attached to cert tags.
189 String cert = parser.getAttributeValue(null, "signature");
190 if (cert != null) {
191 pb.addSignature(cert);
206 } else if ("cert".equals(tagName)) {
255 parser.require(XmlPullParser.START_TAG, null, "cert");
460 for (Signature cert : mCerts) {
461 sb.append("cert=" + cert.toCharsString().substring(0, 11) + "... ");
542 * @param cert the signature to add given as a String.
544 * @throws IllegalArgumentException if the cert value fails validation;
547 public PolicyBuilder addSignature(String cert) {
548 if (cert == null) {
549 String err = "Invalid signature value " + cert;
553 mCerts.add(new Signature(cert));
644 * <li> at least one cert must be found </li>