Class DetailedReport
java.lang.Object
eu.europa.esig.dss.detailedreport.DetailedReport
public class DetailedReport extends Object
This class represents the detailed report built during the validation process. It contains information on each
executed constraint. It is composed among other of the
following building blocks:
- Identification of the Signer's Certificate (ISC)
- Validation Context Initialization (VCI)
- X.509 Certificate Validation (XCV)
- Cryptographic Verification (CV)
- Signature Acceptance Validation (SAV)
- Basic Validation Process
- Validation Process for Time-Stamps
- Validation Process for AdES-T
- Validation of LTV forms
- Identification of the Signer's Certificate (ISC)
- Validation Context Initialization (VCI)
- X.509 Certificate Validation (XCV)
- Cryptographic Verification (CV)
- Signature Acceptance Validation (SAV)
- Basic Validation Process
- Validation Process for Time-Stamps
- Validation Process for AdES-T
- Validation of LTV forms
-
Constructor Summary
Constructors Constructor Description DetailedReport(XmlDetailedReport jaxbDetailedReport) -
Method Summary
-
Constructor Details
-
Method Details
-
getBasicBuildingBlocksIndication
This method returns the result of the Basic Building Block for a token (signature, timestamp, revocation)- Parameters:
tokenId- the token identifier- Returns:
- the Indication
-
getBasicBuildingBlocksSubIndication
This method returns the result of the Basic Building Block for a token (signature, timestamp, revocation)- Parameters:
tokenId- the token identifier- Returns:
- the SubIndication
-
getBasicBuildingBlocksCertChain
-
getBasicBuildingBlockById
This method returns the full content of the Basic Building Block for a token (signature, timestamp, revocation)- Parameters:
tokenId- the token identifier- Returns:
- the XmlBasicBuildingBlocks
-
getBasicBuildingBlocksNumber
public int getBasicBuildingBlocksNumber()Returns the number of Basic Building Blocks.- Returns:
intnumber of Basic Building Blocks
-
getBasicBuildingBlocksSignatureId
Returns the id of the token. The signature is identified by its index: 0 for the first one.- Parameters:
index- (position/order) of the signature within the report- Returns:
Stringidentifying the token
-
getSignatureIds
-
getFirstSignatureId
This method returns the first signature id.- Returns:
- the first signature id
-
getTimestampIds
-
getRevocationIds
-
getBestSignatureTime
-
getBestProofOfExistence
-
getBasicValidationIndication
-
getBasicValidationSubIndication
-
getTimestampValidationIndication
-
getTimestampValidationSubIndication
-
getLongTermValidationIndication
-
getLongTermValidationSubIndication
-
getArchiveDataValidationIndication
-
getArchiveDataValidationSubIndication
-
getSignatureQualification
-
getTimestampQualification
-
getXmlTimestampById
Returns anXmlTimestampby the given id Null if the timestamp is not found- Parameters:
timestampId-Stringid of a timestamp to get- Returns:
XmlTimestamp
-
getXmlSignatureById
Returns anXmlSignatureby the given id Null if the signature is not found- Parameters:
signatureId-Stringid of a signature to get- Returns:
XmlSignature
-
getXmlCertificateById
Returns anXmlCertificateby id if exists, null otherwise NOTE: should be used only for certificate validation process- Parameters:
certificateId- id of a certificate to extract- Returns:
XmlCertificate
-
getSignatures
-
getIndependentTimestamps
-
getCertificates
Returns a list of processedXmlCertificates NOTE: the method returns not empty list only for certificate validation process- Returns:
- list of
XmlCertificates
-
getTLAnalysisById
This method returns the a complete block of a TL validation- Parameters:
tlId- the LOTL/TL identifier- Returns:
- XmlTLAnalysis
-
getJAXBModel
-
getCertificateQualificationAtIssuance
-
getCertificateQualificationAtValidation
-
getCertificateXCVConclusion
-
getHighestIndication
-
getHighestSubIndication
-
getErrors
-
getWarnings
-
getInfos
-
collect
-
getSigningCertificate
-