View Javadoc
1   /* 
2    * Copyright (C) 2016 Hobrasoft s.r.o.
3    *
4    * This program is free software: you can redistribute it and/or modify
5    * it under the terms of the GNU Affero General Public License as published by
6    * the Free Software Foundation, either version 3 of the License, or
7    * (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU Affero General Public License for more details.
13   *
14   * You should have received a copy of the GNU Affero General Public License
15   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16   */
17  package cz.hobrasoft.pdfmu.jackson;
18  
19  import com.fasterxml.jackson.annotation.JsonPropertyDescription;
20  import java.util.List;
21  
22  /**
23   *
24   * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip Bartek</a>
25   */
26  public class Signature {
27  
28      @JsonPropertyDescription("AcroForm field name")
29      public String id;
30  
31      @JsonPropertyDescription("Does the signature cover the whole document?")
32      public Boolean coversWholeDocument;
33  
34      @JsonPropertyDescription("Document revision associated with this signature")
35      public Integer revision;
36  
37      @JsonPropertyDescription("Metadata")
38      public SignatureMetadata metadata;
39  
40      @JsonPropertyDescription("Certificate chain. The certificate used for signing the document is the first in the array.")
41      public List<CertificateResult> certificates;
42  }