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 tokensPAdESSignature
getSignature()
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 dictionaryvoid
setCertificates(Set<CertificateToken> certificates)
Sets the certificate tokensvoid
setCrls(List<CRLToken> crls)
Sets the CRL tokensvoid
setOcsps(List<OCSPToken> ocsps)
Sets the OCSP tokensvoid
setSignature(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
CRLToken
s
-
setCrls
Sets the CRL tokens- Parameters:
crls
- a list ofCRLToken
s
-
getOcsps
Gets the OCSP tokens- Returns:
- a list of
OCSPToken
s
-
setOcsps
Sets the OCSP tokens- Parameters:
ocsps
- a list ofOCSPToken
s
-
getCertificates
Gets the certificate tokens- Returns:
- a list of
CertificateToken
s
-
setCertificates
Sets the certificate tokens- Parameters:
certificates
- a list ofCertificateToken
s
-