Uses of Class
eu.europa.esig.dss.model.DSSException
-
Uses of DSSException in eu.europa.esig.dss.cades
Methods in eu.europa.esig.dss.cades that throw DSSException Modifier and Type Method Description static org.bouncycastle.cms.CMSSignedData
CMSUtils. generateDetachedCMSSignedData(org.bouncycastle.cms.CMSSignedDataGenerator generator, org.bouncycastle.cms.CMSProcessableByteArray content)
-
Uses of DSSException in eu.europa.esig.dss.cades.signature
Methods in eu.europa.esig.dss.cades.signature that throw DSSException Modifier and Type Method Description protected org.bouncycastle.cms.CMSSignedDataGenerator
CMSSignedDataBuilder. createCMSSignedDataGenerator(CAdESSignatureParameters parameters, org.bouncycastle.operator.ContentSigner contentSigner, org.bouncycastle.cms.SignerInfoGeneratorBuilder signerInfoGeneratorBuilder, org.bouncycastle.cms.CMSSignedData originalSignedData)
Note: Section 5.1 of RFC 3852 [4] requires that, the CMS SignedData version be set to 3 if certificates from SignedData is present AND (any version 1 attribute certificates are present OR any SignerInfo structures are version 3 OR eContentType from encapContentInfo is other than id-data).protected org.bouncycastle.cms.SignerInformation
CAdESLevelBaselineLT. extendCMSSignature(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)
protected org.bouncycastle.cms.SignerInformation
CAdESLevelBaselineLTA. extendCMSSignature(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)
protected org.bouncycastle.cms.SignerInformation
CAdESLevelBaselineT. extendCMSSignature(org.bouncycastle.cms.CMSSignedData signedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)
ToBeSigned
CAdESService. getDataToSign(DSSDocument toSignDocument, CAdESSignatureParameters parameters)
DSSDocument
CAdESService. signDocument(DSSDocument toSignDocument, CAdESSignatureParameters parameters, SignatureValue signatureValue)
-
Uses of DSSException in eu.europa.esig.dss.cades.validation
Methods in eu.europa.esig.dss.cades.validation that throw DSSException Modifier and Type Method Description DSSDocument
CAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
DSSDocument
CAdESSignature. getOriginalDocument()
-
Uses of DSSException in eu.europa.esig.dss.cookbook.example.sign
Methods in eu.europa.esig.dss.cookbook.example.sign that throw DSSException Modifier and Type Method Description static void
SignXmlXadesBWithMSCAPI. main(String[] args)
-
Uses of DSSException in eu.europa.esig.dss.pades.signature
Methods in eu.europa.esig.dss.pades.signature that throw DSSException Modifier and Type Method Description DSSDocument
PAdESService. extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters)
ToBeSigned
PAdESService. getDataToSign(DSSDocument toSignDocument, PAdESSignatureParameters parameters)
DSSDocument
PAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)
-
Uses of DSSException in eu.europa.esig.dss.pades.timestamp
Methods in eu.europa.esig.dss.pades.timestamp that throw DSSException Modifier and Type Method Description DSSDocument
PAdESTimestampService. timestampDocument(DSSDocument document, PAdESTimestampParameters params)
-
Uses of DSSException in eu.europa.esig.dss.pades.validation
Constructors in eu.europa.esig.dss.pades.validation that throw DSSException Constructor Description PAdESSignature(DSSDocument document, PdfSignatureRevision pdfSignatureRevision, CertificatePool certPool)
The default constructor for PAdESSignature. -
Uses of DSSException in eu.europa.esig.dss.pdf.pdfbox
Methods in eu.europa.esig.dss.pdf.pdfbox that throw DSSException Modifier and Type Method Description void
PdfBoxSignatureService. saveDocumentIncrementally(PAdESCommonParameters parameters, OutputStream outputStream, org.apache.pdfbox.pdmodel.PDDocument pdDocument)
-
Uses of DSSException in eu.europa.esig.dss.service.http.commons
Methods in eu.europa.esig.dss.service.http.commons that throw DSSException Modifier and Type Method Description protected byte[]
CommonsDataLoader. fileGet(String urlString)
protected byte[]
CommonsDataLoader. ftpGet(String urlString)
This method retrieves data using FTP protocol .byte[]
CommonsDataLoader. get(String urlString)
byte[]
CommonsDataLoader. get(String url, boolean refresh)
This method is useful only with the cache handling implementation of theDataLoader
.DataLoader.DataAndUrl
CommonsDataLoader. get(List<String> urlStrings)
byte[]
FileCacheDataLoader. get(String url)
byte[]
FileCacheDataLoader. get(String url, boolean refresh)
String
ResourceLoader. getAbsoluteResourceFolder(String resourcePath)
This method converts the resource path to the absolute path in target folder.protected byte[]
CommonsDataLoader. httpGet(String url)
This method retrieves data using HTTP or HTTPS protocol and 'get' method.protected byte[]
CommonsDataLoader. ldapGet(String urlString)
This method retrieves data using LDAP protocol.byte[]
FileCacheDataLoader. loadFileFromCache(String urlString)
Allows to load the file for a given file name from the cache folder.byte[]
FileCacheDataLoader. post(String urlString, byte[] content)
-
Uses of DSSException in eu.europa.esig.dss.service.tsp
Methods in eu.europa.esig.dss.service.tsp that throw DSSException Modifier and Type Method Description TimestampBinary
OnlineTSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest)
-
Uses of DSSException in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that throw DSSException Modifier and Type Method Description DSSDocument
SignatureExtension. extendSignatures(DSSDocument document, SP params)
Extends the level of the signatures contained in a document. -
Uses of DSSException in eu.europa.esig.dss.spi.client.http
Methods in eu.europa.esig.dss.spi.client.http that throw DSSException Modifier and Type Method Description byte[]
DataLoader. get(String url)
Execute a HTTP GET operation.byte[]
DataLoader. get(String url, boolean refresh)
Execute a HTTP GET operation with indication concerning the mandatory nature of the operation.DataLoader.DataAndUrl
DataLoader. get(List<String> urlStrings)
Execute a HTTP GET operation.DataLoader.DataAndUrl
MemoryDataLoader. get(List<String> urlStrings)
DSSDocument
DSSFileLoader. getDocument(String url)
Returns DSSDocument from the provided urlbyte[]
DataLoader. post(String url, byte[] content)
Executes a HTTP POST operation -
Uses of DSSException in eu.europa.esig.dss.spi.exception
Subclasses of DSSException in eu.europa.esig.dss.spi.exception Modifier and Type Class Description class
DSSDataLoaderMultipleException
class
DSSExternalResourceException
The exception to be thrown in case of an external error arisen during a data loader requests -
Uses of DSSException in eu.europa.esig.dss.spi.x509.revocation
Subclasses of DSSException in eu.europa.esig.dss.spi.x509.revocation Modifier and Type Class Description class
RevocationException
-
Uses of DSSException in eu.europa.esig.dss.spi.x509.tsp
Methods in eu.europa.esig.dss.spi.x509.tsp that throw DSSException Modifier and Type Method Description TimestampBinary
CompositeTSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digestValue)
TimestampBinary
TSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest)
Gets a TimeStampResponse relevant to the provided digest -
Uses of DSSException in eu.europa.esig.dss.token
Methods in eu.europa.esig.dss.token that throw DSSException Modifier and Type Method Description EncryptionAlgorithm
DSSPrivateKeyEntry. getEncryptionAlgorithm()
Get the EncryptionAlgorithm corresponding to the PrivateKeyEncryptionAlgorithm
KSPrivateKeyEntry. getEncryptionAlgorithm()
List<DSSPrivateKeyEntry>
AbstractKeyStoreTokenConnection. getKeys()
List<DSSPrivateKeyEntry>
SignatureTokenConnection. getKeys()
Retrieves all the available keys (private keys entries) from the token.SignatureValue
AbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
SignatureValue
AbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry)
SignatureValue
SignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenkeyEntry
.SignatureValue
SignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenkeyEntry
.SignatureValue
AbstractSignatureTokenConnection. signDigest(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
SignatureValue
AbstractSignatureTokenConnection. signDigest(Digest digest, DSSPrivateKeyEntry keyEntry)
SignatureValue
SignatureTokenConnection. signDigest(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
This method signs thedigest
data with the givenkeyEntry
.SignatureValue
SignatureTokenConnection. signDigest(Digest digest, DSSPrivateKeyEntry keyEntry)
This method signs thedigest
data with the givenkeyEntry
. -
Uses of DSSException in eu.europa.esig.dss.validation
Methods in eu.europa.esig.dss.validation that throw DSSException Modifier and Type Method Description void
SignatureValidationContext. validate()
void
ValidationContext. validate()
Carries out the validation process in recursive manner for not yet checked tokens. -
Uses of DSSException in eu.europa.esig.dss.ws.server.signing.common
Methods in eu.europa.esig.dss.ws.server.signing.common that throw DSSException Modifier and Type Method Description RemoteKeyEntry
RemoteSignatureTokenConnection. getKey(String alias)
Retrieves a key by its aliasRemoteKeyEntry
RemoteSignatureTokenConnectionImpl. getKey(String alias)
List<RemoteKeyEntry>
RemoteSignatureTokenConnection. getKeys()
Retrieves all the available keys (private keys entries) from the token.List<RemoteKeyEntry>
RemoteSignatureTokenConnectionImpl. getKeys()
SignatureValueDTO
RemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
RemoteSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)
SignatureValueDTO
RemoteSignatureTokenConnection. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)
This method signs thedigest
data with a maskmgf
and the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnection. signDigest(DigestDTO digest, String alias)
This method signs thedigest
data with the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnectionImpl. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
RemoteSignatureTokenConnectionImpl. signDigest(DigestDTO digest, String alias)
-
Uses of DSSException in eu.europa.esig.dss.ws.server.signing.rest
Methods in eu.europa.esig.dss.ws.server.signing.rest that throw DSSException Modifier and Type Method Description RemoteKeyEntry
RestSignatureTokenConnectionImpl. getKey(String alias)
List<RemoteKeyEntry>
RestSignatureTokenConnectionImpl. getKeys()
SignatureValueDTO
RestSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
RestSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)
SignatureValueDTO
RestSignatureTokenConnectionImpl. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
RestSignatureTokenConnectionImpl. signDigest(DigestDTO digest, String alias)
-
Uses of DSSException in eu.europa.esig.dss.ws.signature.common
Methods in eu.europa.esig.dss.ws.signature.common that throw DSSException Modifier and Type Method Description RemoteDocument
RemoteDocumentSignatureService. extendDocument(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters)
Extends the level of the signatures in thetoExtendDocument
RemoteDocument
RemoteMultipleDocumentsSignatureService. extendDocument(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters)
Extends the level of the signatures in thetoExtendDocument
ToBeSignedDTO
RemoteDocumentSignatureService. getDataToSign(RemoteDocument toSignDocument, RemoteSignatureParameters parameters)
Retrieves the bytes of the data that need to be signed based on thetoSignDocument
andparameters
.ToBeSignedDTO
RemoteMultipleDocumentsSignatureService. getDataToSign(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters)
Retrieves the bytes of the data that need to be signed based on thetoSignDocuments
andparameters
.RemoteDocument
RemoteDocumentSignatureService. signDocument(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue)
Signs the toSignDocument with the provided signatureValue.RemoteDocument
RemoteMultipleDocumentsSignatureService. signDocument(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue)
Signs the toSignDocuments with the provided signatureValue.RemoteDocument
RemoteDocumentSignatureService. timestamp(RemoteDocument toTimestampDocument, RemoteTimestampParameters parameters)
Adds a timestamp to the documentRemoteDocument
RemoteMultipleDocumentsSignatureService. timestamp(List<RemoteDocument> toTimestampDocuments, RemoteTimestampParameters parameters)
Adds timestamps to the given list of documentsstatic TimestampToken
TimestampTokenConverter. toTimestampToken(TimestampDTO timestampDTO)
-
Uses of DSSException in eu.europa.esig.dss.ws.timestamp.remote
Methods in eu.europa.esig.dss.ws.timestamp.remote that throw DSSException Modifier and Type Method Description TimestampResponseDTO
RemoteTimestampService. getTimestampResponse(DigestAlgorithm digestAlgorithm, byte[] value)
-
Uses of DSSException in eu.europa.esig.dss.xades
Methods in eu.europa.esig.dss.xades that throw DSSException Modifier and Type Method Description static byte[]
DSSXMLUtils. canonicalize(String canonicalizationMethod, byte[] toCanonicalizeBytes)
This method canonicalizes the given array of bytes using thecanonicalizationMethod
parameter. -
Uses of DSSException in eu.europa.esig.dss.xades.signature
Methods in eu.europa.esig.dss.xades.signature that throw DSSException Modifier and Type Method Description byte[]
XAdESSignatureBuilder. build()
This is the main method which is called to build the XML signatureprotected void
XAdESLevelBaselineLT. checkSignatureIntegrity()
This method checks the signature integrity and throws aDSSException
if the signature is broken.protected void
XAdESLevelBaselineT. createXAdESTimeStampType(TimestampType timestampType, String timestampC14nMethod, byte[] digestValue)
Creates any XAdES TimeStamp object representation.DSSDocument
XAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)
DSSDocument
XAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)
protected void
XAdESLevelA. extendSignatureTag()
Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected void
XAdESLevelBaselineLT. extendSignatureTag()
Adds CertificateValues and RevocationValues segments to UnsignedSignatureProperties.
An XML electronic signature MAY contain at most one:
- CertificateValues element and
- RevocationValues element.protected void
XAdESLevelBaselineLTA. extendSignatureTag()
Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected void
XAdESLevelBaselineT. extendSignatureTag()
Extends the signature to a desired level.protected void
XAdESLevelC. extendSignatureTag()
This format builds up taking XAdES-T signature and incorporating additional data required for validation: The sequence of references to the full set of CA certificates that have been used to validate the electronic signature up to (but not including ) the signer's certificate.
A full set of references to the revocation data that have been used in the validation of the signer and CA certificates.
Adds<CompleteCertificateRefs>
and<CompleteRevocationRefs>
segments into<UnsignedSignatureProperties>
element.protected void
XAdESLevelX. extendSignatureTag()
Adds SigAndRefsTimeStamp segment to UnsignedSignatureProperties
The time-stamp is placed on the the digital signature (ds:Signature element), the time-stamp(s) present in the XAdES-T form, the certification path references and the revocation status references.protected void
XAdESLevelXL. extendSignatureTag()
Adds CertificateValues and RevocationValues segments to UnsignedSignatureProperties.
An XML electronic signature MAY contain at most one:
- CertificateValues element and
- RevocationValues element.byte[]
XAdESLevelBaselineB. getDataToSign(DSSDocument dssDocument, XAdESSignatureParameters parameters)
Returns the canonicalized ds:SignedInfo XML segment under the form of InputStreamToBeSigned
XAdESService. getDataToSign(DSSDocument toSignDocument, XAdESSignatureParameters parameters)
ToBeSigned
XAdESService. getDataToSign(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)
protected void
XAdESSignatureBuilder. incorporateKeyInfo()
Creates KeyInfo tag.DSSDocument
XAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)
Adds the signature value to the signature.DSSDocument
XAdESService. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESSignatureBuilder. signDocument(byte[] signatureValue)
Adds signature value to the signature and returns XML signature (InMemoryDocument) -
Uses of DSSException in eu.europa.esig.dss.xades.validation
Methods in eu.europa.esig.dss.xades.validation that throw DSSException Modifier and Type Method Description AdvancedSignature
XMLDocumentValidator. getSignatureById(String signatureId)
Retrieves a signature based on its Id