/** * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if the signature has not been generated. */ public String getSignatureId() { if (sig == null) { return null; } return sig.getId(); }
/** * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if the signature has not been generated. */ public String getSignatureId() { if (sig == null) { return null; } return sig.getId(); }
/** * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if the signature has not been generated. */ public String getSignatureId() { if (sig == null) { return null; } return sig.getId(); }
/** * Get the id generated during <code>prepare()</code>. * * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if <code>prepare()</code> * was not called before. */ public String getId() { if (sig == null) { return null; } return sig.getId(); }
/** * Get the id generated during <code>prepare()</code>. * * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if <code>prepare()</code> * was not called before. */ public String getId() { if (sig == null) { return null; } return sig.getId(); }
/** * Get the id generated during <code>prepare()</code>. * * Returns the the value of wsu:Id attribute of the Signature element. * * @return Return the wsu:Id of this token or null if <code>prepare()</code> * was not called before. */ public String getId() { if (sig == null) { return null; } return sig.getId(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof XMLSignature)) { return false; } XMLSignature osig = (XMLSignature)o; boolean idEqual = id == null ? osig.getId() == null : id.equals(osig.getId()); boolean keyInfoEqual = ki == null ? osig.getKeyInfo() == null : ki.equals(osig.getKeyInfo()); return idEqual && keyInfoEqual && sv.equals(osig.getSignatureValue()) && si.equals(osig.getSignedInfo()) && objects.equals(osig.getObjects()); }
continue; LOG.debug("validating signature: " + xmlSignature.getId()); boolean signatureValid = xmlSignature.validate(domValidateContext); LOG.debug("signature valid: " + signatureValid);
QualifyingPropertiesType.class); if (false == qualifyingProperties.getTarget().equals( "#" + xmlSignature.getId())) { throw new XAdESValidationException( "xades:QualifyingProperties/@Target incorrect");
String signId = signature.getId(); if (signatureId == null || (signId != null && !signId.equals(signatureId))) signatureId = signId;