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.CMSSignedDataCMSUtils. 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 voidCAdESLevelBaselineT. assertExtendSignaturePossible(CAdESSignature cadesSignature)protected org.bouncycastle.cms.CMSSignedDataGeneratorCMSSignedDataBuilder. 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.SignerInformationCAdESLevelBaselineLT. extendCMSSignature(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)protected org.bouncycastle.cms.SignerInformationCAdESLevelBaselineLTA. extendCMSSignature(org.bouncycastle.cms.CMSSignedData cmsSignedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)protected org.bouncycastle.cms.SignerInformationCAdESLevelBaselineT. extendCMSSignature(org.bouncycastle.cms.CMSSignedData signedData, org.bouncycastle.cms.SignerInformation signerInformation, CAdESSignatureParameters parameters)ToBeSignedCAdESService. getDataToSign(DSSDocument toSignDocument, CAdESSignatureParameters parameters)DSSDocumentCAdESService. 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 byte[]CAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)DSSDocumentCAdESSignature. getOriginalDocument()List<DSSDocument>CMSDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>CMSDocumentValidator. getOriginalDocuments(String signatureId) -
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 voidSignXmlXadesBWithMSCAPI. 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 DSSDocumentPAdESService. extendDocument(DSSDocument original, PAdESSignatureParameters parameters)ToBeSignedPAdESService. getDataToSign(DSSDocument toSignDocument, PAdESSignatureParameters parameters)DSSDocumentPAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) -
Uses of DSSException in eu.europa.esig.dss.pades.validation
Methods in eu.europa.esig.dss.pades.validation that throw DSSException Modifier and Type Method Description List<DSSDocument>PDFDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>PDFDocumentValidator. getOriginalDocuments(String signatureId)Constructors in eu.europa.esig.dss.pades.validation that throw DSSException Constructor Description PAdESSignature(DSSDocument document, PdfSignatureInfo pdfSignatureInfo, CertificatePool certPool)The default constructor for PAdESSignature. -
Uses of DSSException in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that throw DSSException Modifier and Type Method Description DSSDocumentPDFTimestampService. timestamp(DSSDocument document, PAdESSignatureParameters parameters, TSPSource tspSource) -
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 voidPdfBoxSignatureService. saveDocumentIncrementally(PAdESSignatureParameters 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 StringResourceLoader. getAbsoluteResourceFolder(String resourcePath)This method converts the resource path to the absolute path in target 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 org.bouncycastle.tsp.TimeStampTokenOnlineTSPSource. 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 DSSDocumentDocumentSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentMultipleDocumentsSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentSignatureExtension. extendSignatures(DSSDocument document, SP params)Extends the level of the signatures contained in a document.ToBeSignedDocumentSignatureService. getDataToSign(DSSDocument toSignDocument, SP parameters)Retrieves the bytes of the data that need to be signed based on thetoSignDocumentandparameters.ToBeSignedMultipleDocumentsSignatureService. getDataToSign(List<DSSDocument> toSignDocuments, SP parameters)Retrieves the bytes of the data that need to be signed based on thetoSignDocumentsandparameters.DSSDocumentDocumentSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)Signs the toSignDocument with the provided signatureValue.DSSDocumentMultipleDocumentsSignatureService. signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue)Signs the toSignDocuments with the provided signatureValue. -
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 classRevocationException -
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 org.bouncycastle.tsp.TimeStampTokenCompositeTSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digestValue)org.bouncycastle.tsp.TimeStampTokenTSPSource. 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 EncryptionAlgorithmDSSPrivateKeyEntry. getEncryptionAlgorithm()Get the EncryptionAlgorithm corresponding to the PrivateKeyEncryptionAlgorithmKSPrivateKeyEntry. getEncryptionAlgorithm()List<DSSPrivateKeyEntry>AbstractKeyStoreTokenConnection. getKeys()List<DSSPrivateKeyEntry>SignatureTokenConnection. getKeys()Retrieves all the available keys (private keys entries) from the token.SignatureValueAbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)SignatureValueAbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry)SignatureValueSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)This method signs thetoBeSigneddata with the digestdigestAlgorithm, the maskmgfand the givenkeyEntry.SignatureValueSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry)This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenkeyEntry.SignatureValueAbstractSignatureTokenConnection. signDigest(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)SignatureValueAbstractSignatureTokenConnection. signDigest(Digest digest, DSSPrivateKeyEntry keyEntry)SignatureValueSignatureTokenConnection. signDigest(Digest digest, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)This method signs thedigestdata with the givenkeyEntry.SignatureValueSignatureTokenConnection. signDigest(Digest digest, DSSPrivateKeyEntry keyEntry)This method signs thedigestdata 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 voidCandidatesForSigningCertificate. setTheCertificateValidity(CertificateValidity theCertificateValidity)This method allows to set theSigningCertificateValidityobject after the verification of its signature.voidSignatureValidationContext. validate()voidValidationContext. 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 RemoteKeyEntryRemoteSignatureTokenConnection. getKey(String alias)Retrieves a key by its aliasRemoteKeyEntryRemoteSignatureTokenConnectionImpl. getKey(String alias)List<RemoteKeyEntry>RemoteSignatureTokenConnection. getKeys()Retrieves all the available keys (private keys entries) from the token.List<RemoteKeyEntry>RemoteSignatureTokenConnectionImpl. getKeys()SignatureValueDTORemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)This method signs thetoBeSigneddata with the digestdigestAlgorithm, the maskmgfand the givenalias.SignatureValueDTORemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenalias.SignatureValueDTORemoteSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)SignatureValueDTORemoteSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)SignatureValueDTORemoteSignatureTokenConnection. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)This method signs thedigestdata with a maskmgfand the givenalias.SignatureValueDTORemoteSignatureTokenConnection. signDigest(DigestDTO digest, String alias)This method signs thedigestdata with the givenalias.SignatureValueDTORemoteSignatureTokenConnectionImpl. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)SignatureValueDTORemoteSignatureTokenConnectionImpl. 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 RemoteKeyEntryRestSignatureTokenConnectionImpl. getKey(String alias)List<RemoteKeyEntry>RestSignatureTokenConnectionImpl. getKeys()SignatureValueDTORestSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)SignatureValueDTORestSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)SignatureValueDTORestSignatureTokenConnectionImpl. signDigest(DigestDTO digest, MaskGenerationFunction mgf, String alias)SignatureValueDTORestSignatureTokenConnectionImpl. 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 RemoteDocumentRemoteDocumentSignatureService. extendDocument(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters)Extends the level of the signatures in thetoExtendDocumentRemoteDocumentRemoteMultipleDocumentsSignatureService. extendDocument(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters)Extends the level of the signatures in thetoExtendDocumentToBeSignedDTORemoteDocumentSignatureService. getDataToSign(RemoteDocument toSignDocument, RemoteSignatureParameters parameters)Retrieves the bytes of the data that need to be signed based on thetoSignDocumentandparameters.ToBeSignedDTORemoteMultipleDocumentsSignatureService. getDataToSign(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters)Retrieves the bytes of the data that need to be signed based on thetoSignDocumentsandparameters.RemoteDocumentRemoteDocumentSignatureService. signDocument(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue)Signs the toSignDocument with the provided signatureValue.RemoteDocumentRemoteMultipleDocumentsSignatureService. signDocument(List<RemoteDocument> toSignDocuments, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue)Signs the toSignDocuments with the provided signatureValue. -
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 thecanonicalizationMethodparameter. -
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 voidXAdESLevelBaselineLT. checkSignatureIntegrity()This method checks the signature integrity and throws aDSSExceptionif the signature is broken.protected voidXAdESLevelBaselineT. createXAdESTimeStampType(TimestampType timestampType, String timestampC14nMethod, byte[] digestValue)Creates any XAdES TimeStamp object representation.DSSDocumentXAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)DSSDocumentXAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)protected voidXAdESLevelA. extendSignatureTag()Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected voidXAdESLevelBaselineLT. extendSignatureTag()Adds CertificateValues and RevocationValues segments to UnsignedSignatureProperties.
An XML electronic signature MAY contain at most one:
- CertificateValues element and
- RevocationValues element.protected voidXAdESLevelBaselineLTA. extendSignatureTag()Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected voidXAdESLevelBaselineT. extendSignatureTag()Extends the signature to a desired level.protected voidXAdESLevelC. 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 voidXAdESLevelX. 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 voidXAdESLevelXL. 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 InputStreamToBeSignedXAdESService. getDataToSign(DSSDocument toSignDocument, XAdESSignatureParameters parameters)ToBeSignedXAdESService. getDataToSign(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)protected voidXAdESSignatureBuilder. incorporateKeyInfo()Creates KeyInfo tag.DSSDocumentXAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)Adds the signature value to the signature.DSSDocumentXAdESService. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESSignatureBuilder. 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 List<DSSDocument>XMLDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>XMLDocumentValidator. getOriginalDocuments(String signatureId)AdvancedSignatureXMLDocumentValidator. getSignatureById(String signatureId)Retrieves a signature based on its Id
-