Package eu.europa.esig.dss.pdf
Class DSSDictionaryCallback
java.lang.Object
eu.europa.esig.dss.pdf.DSSDictionaryCallback
public class DSSDictionaryCallback extends Object
Contains the DSS dictionary content
-
Constructor Summary
Constructors Constructor Description DSSDictionaryCallback() -
Method Summary
Modifier and Type Method Description Set<CertificateToken>getCertificates()Gets the certificate tokensList<CRLToken>getCrls()Gets the CRL tokensList<OCSPToken>getOcsps()Gets the OCSP tokensPAdESSignaturegetSignature()Gets the signatureMap<Long,CertificateToken>getStoredCertificates()Gets the certificate tokens from a DSS dictionaryMap<Long,CRLBinary>getStoredCrls()Gets the CRL tokens from a DSS dictionaryMap<Long,org.bouncycastle.cert.ocsp.BasicOCSPResp>getStoredOcspResps()Gets the OCSP tokens from a DSS dictionaryvoidsetCertificates(Set<CertificateToken> certificates)Sets the certificate tokensvoidsetCrls(List<CRLToken> crls)Sets the CRL tokensvoidsetOcsps(List<OCSPToken> ocsps)Sets the OCSP tokensvoidsetSignature(PAdESSignature signature)Sets the signature
-
Constructor Details
-
DSSDictionaryCallback
public DSSDictionaryCallback()
-
-
Method Details
-
getSignature
Gets the signature- Returns:
PAdESSignature
-
setSignature
Sets the signature- Parameters:
signature-PAdESSignature
-
getStoredCrls
Gets the CRL tokens from a DSS dictionary- Returns:
- a map between CRL objects ids and values
-
getStoredOcspResps
Gets the OCSP tokens from a DSS dictionary- Returns:
- a map between OCSP objects ids and values
-
getStoredCertificates
Gets the certificate tokens from a DSS dictionary- Returns:
- a map between certificate objects ids and values
-
getCrls
Gets the CRL tokens- Returns:
- a list of
CRLTokens
-
setCrls
Sets the CRL tokens- Parameters:
crls- a list ofCRLTokens
-
getOcsps
Gets the OCSP tokens- Returns:
- a list of
OCSPTokens
-
setOcsps
Sets the OCSP tokens- Parameters:
ocsps- a list ofOCSPTokens
-
getCertificates
Gets the certificate tokens- Returns:
- a list of
CertificateTokens
-
setCertificates
Sets the certificate tokens- Parameters:
certificates- a list ofCertificateTokens
-