Uses of Class
eu.europa.esig.dss.model.DSSException
Package
Description
-
Uses of DSSException in eu.europa.esig.dss.cades.validation
-
Uses of DSSException in eu.europa.esig.dss.jades.signature
Modifier and TypeMethodDescriptionprotected void
JAdESLevelBaselineLT.assertSignatureValid
(JAdESSignature jadesSignature, JAdESSignatureParameters params) This method checks the signature integrity and throws aDSSException
if the signature is broken. -
Uses of DSSException in eu.europa.esig.dss.jades.validation
-
Uses of DSSException in eu.europa.esig.dss.pades.exception
Modifier and TypeClassDescriptionclass
Throwed if an invalid password has been providedclass
Thrown when the document is protected (the requested operation is not permitted) -
Uses of DSSException in eu.europa.esig.dss.pades.signature
Modifier and TypeMethodDescriptionPAdESService.extendDocument
(DSSDocument toExtendDocument, PAdESSignatureParameters parameters) PAdESService.getDataToSign
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) -
Uses of DSSException in eu.europa.esig.dss.service.http.commons
Modifier and TypeMethodDescriptionbyte[]
ResourceLoader.getAbsoluteResourceFolder
(String resourcePath) This method converts the resource path to the absolute path in target folder.byte[]
FileCacheDataLoader.loadFileFromCache
(String urlString) Allows to load the file for a given file name from the cache folder.byte[]
-
Uses of DSSException in eu.europa.esig.dss.service.tsp
Modifier and TypeMethodDescriptionOnlineTSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digest) -
Uses of DSSException in eu.europa.esig.dss.spi.client.http
Modifier and TypeMethodDescriptionDSSFileLoader.getDocument
(String url) Returns DSSDocument from the provided url -
Uses of DSSException in eu.europa.esig.dss.spi.exception
Modifier and TypeClassDescriptionclass
Contains a map of occurred exceptions to different URL callsclass
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
-
Uses of DSSException in eu.europa.esig.dss.spi.x509.revocation.ocsp
-
Uses of DSSException in eu.europa.esig.dss.spi.x509.tsp
Modifier and TypeMethodDescriptionCompositeTSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digestValue) TSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digest) Gets a TimeStampResponse relevant to the provided digest -
Uses of DSSException in eu.europa.esig.dss.token
Modifier and TypeMethodDescriptionDSSPrivateKeyEntry.getEncryptionAlgorithm()
Get the EncryptionAlgorithm corresponding to the PrivateKeyKSPrivateKeyEntry.getEncryptionAlgorithm()
AbstractKeyStoreTokenConnection.getKeys()
SignatureTokenConnection.getKeys()
Retrieves all the available keys (private keys entries) from the token.protected abstract KeyStore
AbstractKeyStoreTokenConnection.getKeyStore()
Gets the key storeprotected KeyStore
AppleSignatureToken.getKeyStore()
protected KeyStore
MSCAPISignatureToken.getKeyStore()
protected KeyStore
Pkcs11SignatureToken.getKeyStore()
AbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) AbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) AbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenkeyEntry
.SignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenkeyEntry
.SignatureTokenConnection.sign
(ToBeSigned toBeSigned, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the pre-defined signature algorithmsignatureAlgorithm
, and the givenkeyEntry
.AbstractSignatureTokenConnection.signDigest
(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) AbstractSignatureTokenConnection.signDigest
(Digest digest, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) AbstractSignatureTokenConnection.signDigest
(Digest digest, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.signDigest
(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) This method signs thedigest
data with the givenkeyEntry
.SignatureTokenConnection.signDigest
(Digest digest, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thedigest
data with the pre-definedsignatureAlgorithm
and the givenkeyEntry
.SignatureTokenConnection.signDigest
(Digest digest, DSSPrivateKeyEntry keyEntry) This method signs thedigest
data with the givenkeyEntry
. -
Uses of DSSException in eu.europa.esig.dss.ws.server.signing.common
Modifier and TypeMethodDescriptionRetrieves a key by its aliasRemoteSignatureTokenConnection.getKeys()
Retrieves all the available keys (private keys entries) from the token.RemoteSignatureTokenConnectionImpl.getKeys()
RemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.RemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
.RemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thetoBeSigned
data with the digestsignatureAlgorithm
and the givenalias
.RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) RemoteSignatureTokenConnection.signDigest
(DigestDTO digest, MaskGenerationFunction mgf, String alias) This method signs thedigest
data with a maskmgf
and the givenalias
.RemoteSignatureTokenConnection.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thedigest
data with asignatureAlgorithm
and the givenalias
.RemoteSignatureTokenConnection.signDigest
(DigestDTO digest, String alias) This method signs thedigest
data with the givenalias
.RemoteSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, MaskGenerationFunction mgf, String alias) RemoteSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) RemoteSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, String alias) -
Uses of DSSException in eu.europa.esig.dss.ws.server.signing.rest
Modifier and TypeMethodDescriptionRestSignatureTokenConnectionImpl.getKeys()
RestSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) RestSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) RestSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, MaskGenerationFunction mgf, String alias) RestSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, String alias) -
Uses of DSSException in eu.europa.esig.dss.ws.signature.common
Modifier and TypeMethodDescriptionRemoteDocumentSignatureService.extendDocument
(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Extends the level of the signatures in thetoExtendDocument
RemoteMultipleDocumentsSignatureService.extendDocument
(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters) Extends the level of the signatures in thetoExtendDocument
RemoteDocumentSignatureService.getDataToSign
(RemoteDocument toSignDocument, RemoteSignatureParameters parameters) Retrieves the bytes of the data that need to be signed based on thetoSignDocument
andparameters
.RemoteMultipleDocumentsSignatureService.getDataToSign
(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters) Retrieves the bytes of the data that need to be signed based on thetoSignDocuments
andparameters
.RemoteTrustedListSignatureService.getDataToSign
(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters) Retrieves the bytes of the data that need to be signed for a conformant XML Trusted List signing according to a set of customizable parametersRemoteTrustedListSignatureServiceImpl.getDataToSign
(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters) RemoteDocumentSignatureService.signDocument
(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Signs the toSignDocument with the provided signatureValue.RemoteMultipleDocumentsSignatureService.signDocument
(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Signs the toSignDocuments with the provided signatureValue.RemoteTrustedListSignatureService.signDocument
(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters, SignatureValueDTO signatureValue) Signs the XML Trusted List with the providedsignatureValue
according to a set of customizable parameters.RemoteTrustedListSignatureServiceImpl.signDocument
(RemoteDocument trustedList, RemoteTrustedListSignatureParameters parameters, SignatureValueDTO signatureValue) RemoteDocumentSignatureService.timestamp
(RemoteDocument toTimestampDocument, RemoteTimestampParameters parameters) Adds a timestamp to the documentRemoteMultipleDocumentsSignatureService.timestamp
(List<RemoteDocument> toTimestampDocuments, RemoteTimestampParameters parameters) Adds timestamps to the given list of documentsstatic TimestampToken
TimestampTokenConverter.toTimestampToken
(TimestampDTO timestampDTO) ConvertsTimestampDTO
s toTimestampToken
s -
Uses of DSSException in eu.europa.esig.dss.xades
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionbyte[]
XAdESSignatureBuilder.build()
This is the main method which is called to build the XML signatureprotected void
XAdESLevelBaselineT.createXAdESTimeStampType
(TimestampType timestampType, String timestampC14nMethod, DSSMessageDigest messageDigest) Creates any XAdES TimeStamp object representation.XAdESLevelBaselineT.extendSignatures
(DSSDocument dssDocument, XAdESSignatureParameters params) byte[]
XAdESLevelBaselineB.getDataToSign
(DSSDocument dssDocument, XAdESSignatureParameters parameters) Returns the canonicalized ds:SignedInfo XML segment under the form of InputStreamprotected void
XAdESSignatureBuilder.incorporateKeyInfo()
Creates KeyInfo tag.XAdESLevelBaselineB.signDocument
(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue) Adds the signature value to the signature. -
Uses of DSSException in eu.europa.esig.dss.xades.validation