Class SessionsResource
java.lang.Object
dev.getshield.resources.SessionsResource
Sessions resource — create, retrieve, export, close, stamp, and PII management.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClose a session permanently.Create a new session.com.fasterxml.jackson.databind.JsonNodeexportJson(String sessionId) Export a session as JSON.byte[]Export a session as PDF bytes.pii()com.fasterxml.jackson.databind.JsonNodeRetrieve a session by ID.com.fasterxml.jackson.databind.JsonNodeRequest an RFC 3161 timestamp against the session's hash chain tip.
-
Constructor Details
-
SessionsResource
-
-
Method Details
-
pii
-
create
Create a new session. -
retrieve
Retrieve a session by ID. -
close
Close a session permanently. No new events can be appended after closing. -
stamp
Request an RFC 3161 timestamp against the session's hash chain tip. Async — returns 202 immediately. Pollverify().session()and checktsa_status. -
exportJson
Export a session as JSON. -
exportPdf
Export a session as PDF bytes.
-