Package jenkins.util
Class JSONSignatureValidator
- java.lang.Object
-
- jenkins.util.JSONSignatureValidator
-
public class JSONSignatureValidator extends Object
- Since:
- 1.482
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description JSONSignatureValidator(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<TrustAnchor>
loadTrustAnchors(CertificateFactory cf)
FormValidation
verifySignature(net.sf.json.JSONObject o)
Verifies the signature in the update center data file.
-
-
-
Constructor Detail
-
JSONSignatureValidator
public JSONSignatureValidator(String name)
-
-
Method Detail
-
verifySignature
public FormValidation verifySignature(net.sf.json.JSONObject o) throws IOException
Verifies the signature in the update center data file.- Throws:
IOException
-
loadTrustAnchors
protected Set<TrustAnchor> loadTrustAnchors(CertificateFactory cf) throws IOException
- Throws:
IOException
-
-