DOCUMENTATION

Generates time stamp

Name: GerarCarimboTempo

This function is intended to generate a time stamp for a file or Hash code.

Input format:

Using File:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<carimbotempo>
        <sessao>XXXX</sessao> 
        <arquivo>xx</arquivo>
</carimbotempo>

Using Hash Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<carimbotempo>
        <sessao>XXXX</sessao> 
        <codigo_hash>xx</codigo_hash>
</carimbotempo>
Parameter Format Required Description
Sessão Text Y Registered access key for your company.
codigo_hash Text Y Hash (256) of the document that you want to get the time stamp.
arquivo Text Y Document in the base64 format that you want to get the time stamp.

Output format:

                                    <?xml version="1.0" encoding="ISO-8859-1" ?>
<carimbotempo>
        <CodErro />
        <MsgErro />
        <Codigo_Hash> </Codigo_Hash>
        <IDCarimbo> </IDCarimbo>
        <DataHoraUTC> </DataHoraUTC>
        <ACTEmissor> </ACTEmissor>
        <Algoritmo> </Algoritmo>
        <Carimbo> </Carimbo>
</carimbotempo>
Parameter Format Description
CodErro Numeric Error code (See Error Codes).
MsgErro Text Error message.
Codigo_Hash Text Hash Code of the stamped document.
IDCarimbo Text Serial number of the new time stamp.
DataHoraUTC Text Date and time in UTC format where the stamp was obtained.
ACTEmissor Text Name of the Certifying Authority of Time.
Algoritmo Text Algorithm used to generate the time stamp.
Carimbo Text Time stamp generated in base64 format.