OldDatabaseArchiver
The default archiver used if the the property ARCHIVE=true is set, or if the ARCHIVERS property contains its class name. This Archiver archives to the ArchiveData database table using the same datasource as SignServer uses for accessing the database for its configuration, and so on.
The data is stored in an XML encoded Base64PutHashMap. In the dataEncoding column, this format is indicated as DATA_ENCODING_XML.
ARCHIVERS=org.signserver.server.archive.olddbarchiver.OldDatabaseArchiver
Worker Properties
Property | Description |
|---|---|
ARCHIVERx.ARCHIVE_OF_TYPE | Where "x" is the index of the Archiver in the
Default: Example:
CODE
|
ARCHIVERx.USE_FORWARDED_ADDRESS | Where "x" is the index of the archiver in the Default: False. |
ARCHIVERx.MAX_FORWARDED_ADDRESSES | Where "x" is the index of the archiver in the Default: 1 (only include the last address). This property is only used when |
ARCHIVERx.INCLUDE_DIRECT_ADDRESS | Where "x" is the index of the archiver in the Default: False (not included). This property is only used when |
ArchiveData table
The exact database table structure is described in the SQL scripts available under doc/sql-scripts/.
Database table | Description |
|---|---|
archiveData | Specifies the actual data encoded in an Base64PutHashMap. |
archiveId | Specifies the identifier for the produced item. For the TimeStampSigner, this would be the Time stamp token serial number (in hex encoding). Other signers might use a hash of the request document and the transaction ID. |
dataEncoding | Specifies the type of encoding used for the archiveData. Valid values:
Where |
requestCertSerialnumber | Specifies the serial number (in hex encoding) of the client certificate (if any) used by the client. This only indicates that the client certificate was used when establishing the connection to the web server, and not whether the worker required a client certificate or not, nor if it checked if the authenticated client was authorized. |
requestIP | By default, the |
requestIssuerDN | Specifies the Issuer DN (in string representation) of the issuer of the client certificate (if any) used by the client. See also note about requestCertSerialnumber. |
signerId | Specifies the ID of the worker handling the request. |
time | Specifies the time stamp (number of milliseconds since January 1 1970 00:00:00) on the SignServer host when the item was archived. |
type | Specifies the type of archivable item. Valid values:
|
uniqueId | Specifies the primary key of the archive row. |