/** * This method is not applicable for this kind of certificate source. You should use {@link * #addCertificate(java.security.cert.X509Certificate, eu.europa.ec.markt.dss.validation102853.condition.ServiceInfo)} * * @param x509Certificate the certificate you have to trust * @return the corresponding certificate token */ @Override public CertificateToken addCertificate(final X509Certificate x509Certificate) { throw new DSSNotApplicableMethodException(getClass()); }
/** * This method is not applicable in the context of this class. * * @param value the simple value of the constraint to set. */ @Override public void setValue(final String value) { throw new DSSNotApplicableMethodException(getClass()); }
@Override protected boolean isSignedBy(final CertificateToken issuerToken) { throw new DSSNotApplicableMethodException(this.getClass()); }