jp.ikedam.jenkins.plugins.updatesitesmanager.internal
Class ExtendedCertJsonSignValidator

java.lang.Object
  extended by jenkins.util.JSONSignatureValidator
      extended by jp.ikedam.jenkins.plugins.updatesitesmanager.internal.ExtendedCertJsonSignValidator

public class ExtendedCertJsonSignValidator
extends jenkins.util.JSONSignatureValidator

Adds provided cert to trust anchors when validating update center json

Author:
lanwen (Merkushev Kirill)

Constructor Summary
ExtendedCertJsonSignValidator(String id, String cert)
           
 
Method Summary
protected  Set<TrustAnchor> loadTrustAnchors(CertificateFactory cf)
           
 
Methods inherited from class jenkins.util.JSONSignatureValidator
verifySignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedCertJsonSignValidator

public ExtendedCertJsonSignValidator(String id,
                                     String cert)
Method Detail

loadTrustAnchors

protected Set<TrustAnchor> loadTrustAnchors(CertificateFactory cf)
                                     throws IOException
Overrides:
loadTrustAnchors in class jenkins.util.JSONSignatureValidator
Throws:
IOException


Copyright © 2004-2016. All Rights Reserved.