Skip to content

Instantly share code, notes, and snippets.

@Viterzgir
Created May 27, 2021 16:08
Show Gist options
  • Save Viterzgir/47dcce0cf4dcbb20301884b4b8bbc88f to your computer and use it in GitHub Desktop.
Save Viterzgir/47dcce0cf4dcbb20301884b4b8bbc88f to your computer and use it in GitHub Desktop.
package com.genuitec.eclipse.core.ui.preference;
import org.eclipse.core.runtime.Status;
import org.eclipse.osgi.signedcontent.SignedContent;
public class MECPListContentProvider {
public static final String[] signedPluginIDs = new String[]{"com.genuitec.eclipse.core"};
protected Status verifyJarSignatures(String string, String string2) {
return new Status(0, string, "Signature chain is valid and from Genuitec.");
}
public void checkContent(SignedContent signedContent) {
}
public Status verifyJarSignatures(String[] stringArray) {
return this.verifyJarSignatures("com.genuitec.eclipse.core", null);
}
public void verifyJarSignatures() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment