Lines Matching refs:signers

60      * The code signers.
62 private transient CodeSigner[] signers = null;
65 * The code signers. Certificate chains are concatenated.
95 * location and set of code signers.
98 * @param signers the code signers. It may be null. The contents of the
103 public CodeSource(URL url, CodeSigner[] signers) {
106 // Copy the supplied signers
107 if (signers != null) {
108 this.signers = signers.clone();
174 * {@link #CodeSource(URL url, CodeSigner[] signers)}
188 } else if (signers != null) {
189 // Convert the code signers to certs
192 for (int i = 0; i < signers.length; i++) {
194 signers[i].getSignerCertPath().getCertificates());
206 * Returns the code signers associated with this CodeSource.
219 if (signers != null) {
220 return signers.clone();
223 // Convert the certs to code signers
224 signers = convertCertArrayToSignerArray(certs);
225 return signers.clone();
322 if (certs == null && signers == null) {
324 return (that.certs == null && that.signers == null);
328 // both have signers
329 } else if (signers != null && that.signers != null) {
330 if (strict && signers.length != that.signers.length) {
333 for (int i = 0; i < signers.length; i++) {
335 for (int j = 0; j < that.signers.length; j++) {
336 if (signers[i].equals(that.signers[j])) {
468 } else if (this.signers != null && this.signers.length > 0) {
469 for (int i = 0; i < this.signers.length; i++) {
470 sb.append( " " + this.signers[i]);
490 * array of bytes. Finally, if any code signers are present then the array
491 * of code signers is serialized and written out too.
518 // Serialize the array of code signers (if any)
519 if (signers != null && signers.length > 0) {
520 oos.writeObject(signers);
579 // Deserialize array of code signers (if any)
581 this.signers = ((CodeSigner[])ois.readObject()).clone();
583 // no signers present
588 * Convert an array of certificates to an array of code signers.
592 * @return An array of code signers or null if none are generated.
609 List<CodeSigner> signers = new ArrayList<>();
626 signers.add(new CodeSigner(certPath, null));
629 if (signers.isEmpty()) {
632 return signers.toArray(new CodeSigner[signers.size()]);