Package br.ufsc.labsec.signature.tsa
Interface TimeStamp
- All Known Implementing Classes:
LocalTimestampProvider
,RemoteTimestampProvider
public interface TimeStamp
Classe que representa um carimbo de tempo
-
Method Summary
Modifier and Type Method Description <Encod, Sig extends Signature<Encod>>
TSInformation<Encod,Sig>constructCadesInformation(Sig signature)
KeyStoreInformation
constructKeyStoreInformation()
<Encod, Sig extends Signature<Encod>>
byte[]getTimeStamp(FileToBeSigned<? extends TSInformation<Encod,Sig>> fileToBeSigned)
Retorna um carimbo de tempo pro conteúdo dado
-
Method Details
-
getTimeStamp
<Encod, Sig extends Signature<Encod>> byte[] getTimeStamp(FileToBeSigned<? extends TSInformation<Encod,Sig>> fileToBeSigned)Retorna um carimbo de tempo pro conteúdo dado- Parameters:
fileToBeSigned
- arquivo a ser assinado- Returns:
- O carimbo de tempo pro conteúdo dado
-
constructKeyStoreInformation
- Throws:
TimeStampException
-
constructCadesInformation
<Encod, Sig extends Signature<Encod>> TSInformation<Encod,Sig> constructCadesInformation(Sig signature)
-