001/* 002 * Copyright (C) 2016 Hobrasoft s.r.o. 003 * 004 * This program is free software: you can redistribute it and/or modify 005 * it under the terms of the GNU Affero General Public License as published by 006 * the Free Software Foundation, either version 3 of the License, or 007 * (at your option) any later version. 008 * 009 * This program is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 012 * GNU Affero General Public License for more details. 013 * 014 * You should have received a copy of the GNU Affero General Public License 015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 016 */ 017package cz.hobrasoft.pdfmu.jackson; 018 019import com.fasterxml.jackson.annotation.JsonPropertyDescription; 020import java.util.List; 021 022/** 023 * 024 * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip Bartek</a> 025 */ 026public class Signature { 027 028 @JsonPropertyDescription("AcroForm field name") 029 public String id; 030 031 @JsonPropertyDescription("Does the signature cover the whole document?") 032 public Boolean coversWholeDocument; 033 034 @JsonPropertyDescription("Document revision associated with this signature") 035 public Integer revision; 036 037 @JsonPropertyDescription("Metadata") 038 public SignatureMetadata metadata; 039 040 @JsonPropertyDescription("Certificate chain. The certificate used for signing the document is the first in the array.") 041 public List<CertificateResult> certificates; 042}