public class ProofOfExistenceFoundEvent extends Object implements IValidationEvent
| Constructor and Description |
|---|
ProofOfExistenceFoundEvent(byte[] timeStampSignature)
Creates a new event instance for a signature timestamp.
|
ProofOfExistenceFoundEvent(PdfSignature sig,
String signatureName)
Creates a new event instance for a document timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
EventType |
getEventType()
Returns the event type of the event, this fields is used to avoid instanceof usage.
|
PdfSignature |
getPdfSignature()
Returns the PdfSignature containing the timestamp signature.
|
byte[] |
getTimeStampSignature()
Returns the encoded timestamp signature.
|
boolean |
isDocumentTimestamp()
Returns whether this is a document timestamp.
|
public ProofOfExistenceFoundEvent(PdfSignature sig, String signatureName)
sig - the PdfSignature containing the timestamp signature,
only applicable for document signaturessignatureName - signature name, only applicable for document signaturespublic ProofOfExistenceFoundEvent(byte[] timeStampSignature)
timeStampSignature - timestamp container as a byte[]public byte[] getTimeStampSignature()
public boolean isDocumentTimestamp()
public PdfSignature getPdfSignature()
public EventType getEventType()
getEventType in interface IValidationEventCopyright © 1998–2026 Apryse Group NV. All rights reserved.