java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.decoder.PdfEntry

public class PdfEntry
extends Object
Esta classe define a estrutura que decodifica entrada do dicionario de assinatura e, opcionalmente, seu valor.
  • Constructor Details

    • PdfEntry

      public PdfEntry​(String entry)
    • PdfEntry

      public PdfEntry​(String entry, String value) throws IOException
      Throws:
      IOException
    • PdfEntry

      public PdfEntry​(org.bouncycastle.asn1.ASN1Sequence sequence) throws IOException
      Decodifica nome e valor contido no ASN1
      Parameters:
      sequence - Objeto ASN. que contém a entrada do dicionário
      Throws:
      IOException
  • Method Details

    • entries

      public static List<PdfEntry> entries​(org.bouncycastle.asn1.ASN1Sequence sequence)
    • entries

      public static List<PdfEntry> entries​(org.bouncycastle.asn1.DEROctetString octetString)
    • getPdfEntryID

      public String getPdfEntryID()
      Retorna o identificador da entrada
      Returns:
      O identificador da entrada
    • getPdfEntryName

      public org.apache.pdfbox.cos.COSName getPdfEntryName()
    • getPdfEntryValue

      public org.bouncycastle.asn1.ASN1Primitive getPdfEntryValue()
      Retorna o valor da entrada
      Returns:
      O valor da entrada
    • getEncoded

      public org.bouncycastle.asn1.ASN1Encodable getEncoded()