Class TimeStampAttributeResolver

java.lang.Object
br.ufsc.labsec.signature.tsa.TimeStampAttributeResolver

public class TimeStampAttributeResolver
extends Object
  • Constructor Details

    • TimeStampAttributeResolver

      public TimeStampAttributeResolver​(TimeStampComponent timeStampComponent)
  • Method Details

    • setTimeStamp

      public void setTimeStamp​(byte[] timeStamp_)
    • setTimeStamp

      public void setTimeStamp​(org.bouncycastle.tsp.TimeStampToken timeStampToken)
    • setTimeStamp

      public void setTimeStamp​(CadesSignatureContainer container)
    • setContainsTimestampTypes

      public void setContainsTimestampTypes​(String oid)
    • setContainsTimestampTypes

      public void setContainsTimestampTypes​(boolean containsRefsTimestamp, boolean containsArchiveTimestamp)
    • getTimeStampTokenSignedMandatedAttributes

      public List<String> getTimeStampTokenSignedMandatedAttributes()
    • getTimeStampTokenUnsignedMandatedAttributes

      public List<String> getTimeStampTokenUnsignedMandatedAttributes()
    • getTimeStampTokenMandatedAttributes

      public List<String> getTimeStampTokenMandatedAttributes()
      Responsável por determinar a lista de atributos obrigatórios de um carimbo de tempo Para esse método funcionar, é preciso ter atribuído um carimbo de tempo
      Returns:
      Lista de atributos obrigatórios de um carimbo de tempo
      See Also:
      setTimeStamp(byte[])
    • getTimeStampTokenOptinalAttributes

      public List<String> getTimeStampTokenOptinalAttributes()
    • getTimeStampTokenProhibitedAttributes

      public List<String> getTimeStampTokenProhibitedAttributes()
    • getSignatureTimeStampMandatedAttributes

      public List<String> getSignatureTimeStampMandatedAttributes()
    • getSignatureTimeStampSignedMandatedAttributes

      public List<String> getSignatureTimeStampSignedMandatedAttributes()
    • getSignatureTimeStampUnsignedMandatedAttributes

      public List<String> getSignatureTimeStampUnsignedMandatedAttributes()
    • getSignatureTimeStampOptionalAttributes

      public List<String> getSignatureTimeStampOptionalAttributes()
    • getSignatureTimeStampProhibitedAttributes

      public List<String> getSignatureTimeStampProhibitedAttributes()
    • getArchiveTimeStampMandatedAttributes

      public List<String> getArchiveTimeStampMandatedAttributes​(boolean isLast)
    • getArchiveTimeStampSignedMandatedAttributes

      public List<String> getArchiveTimeStampSignedMandatedAttributes()
    • getArchiveTimeStampUnsignedMandatedAttributes

      public List<String> getArchiveTimeStampUnsignedMandatedAttributes​(boolean isLast)
    • getArchiveTimeStampOptionalAttributes

      public List<String> getArchiveTimeStampOptionalAttributes​(boolean isLast)
    • getArchiveTimeStampProhibitedAttributes

      public List<String> getArchiveTimeStampProhibitedAttributes()
    • getReferenceTimeStampMandatedAttributes

      public List<String> getReferenceTimeStampMandatedAttributes()
    • getReferenceTimeStampSignedMandatedAttributes

      public List<String> getReferenceTimeStampSignedMandatedAttributes()
    • getReferenceTimeStampUnsignedMandatedAttributes

      public List<String> getReferenceTimeStampUnsignedMandatedAttributes()
    • getReferenceTimeStampOptionalAttributes

      public List<String> getReferenceTimeStampOptionalAttributes()
    • getReferenceimeStampProhibitedAttributes

      public List<String> getReferenceimeStampProhibitedAttributes()
    • getContentTimeStampMandatedAttributes

      public List<String> getContentTimeStampMandatedAttributes()
    • getContentTimeStampOptionalAttributes

      public List<String> getContentTimeStampOptionalAttributes()
    • getContentTimeStampProhibitedAttributes

      public List<String> getContentTimeStampProhibitedAttributes()