Пример #1
0
  /**
   * This method returns the {@code List} of the timestamp id for the given {@code TimestampType}
   * based on TimestampValidationData.
   *
   * @param signatureId {@code String} id of the signature
   * @param timestampType {@code TimestampType}
   * @return {@code List} of timestamp id
   */
  public List<String> getTimestampValidationTimestampId(
      final String signatureId, final TimestampType timestampType) {

    return getIdList(
        "/ValidationData/TimestampValidationData/Signature[@Id='%s']/Timestamp[@Type='%s']",
        signatureId, timestampType.name());
  }
Пример #2
0
 @Override
 public String getAbbreviation() {
   return timeStampType.name()
       + ": "
       + getDSSId()
       + ": "
       + DSSUtils.formatInternal(timeStamp.getTimeStampInfo().getGenTime());
 }