Base64 Database Archiver
Fully qualified class name: ARCHIVERS=org.signserver.server.archive.base64dbarchiver.Base64DatabaseArchiver
Overview
This Archiver archives to the database table ArchiveData using the same datasource as SignServer uses for accessing the database for its configuration and other elements. It is similar to the Old Database Archiver but does not use an XML structure for storing the data. Instead, the data is simply base64 encoded.
Worker Properties
Property | Default | Description |
|---|---|---|
ARCHIVERx.ARCHIVE_OF_TYPE | RESPONSE | Where "x" is the index of the Archiver in the
Example:
CODE
|
ARCHIVERx.USE_FORWARDED_ADDRESS | false | Where "x" is the index of the archiver in the |
ARCHIVERx.MAX_FORWARDED_ADDRESSES | 1 (only include the last address) | Where "x" is the index of the archiver in the This property is only used when |
ARCHIVERx.INCLUDE_DIRECT_ADDRESS | false (not included) | Where "x" is the index of the archiver in the 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 | Shows that the type of encoding uses a plain Base64 encoding of the binary data:
|
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. |