-
-
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) |
|
-
-
-
-
-
-
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 the
DataLoader .
|
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.
|
List<CertificateToken> |
SSLCertificateLoader.getCertificates(String urlString) |
The method to extract SSL-certificates from the given web page
|
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. - CRL from given LDAP
url, e.g. ldap://ldap.infonotary.com/dc=identity-ca,dc=infonotary,dc=com
- ex URL from AIA
ldap://xadessrv.plugtests.net/CN=LevelBCAOK,OU=Plugtests_2015-2016,O=ETSI,C=FR?
|
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) |
|
-
-
-
-
-
-
-
Methods in eu.europa.esig.dss.token that throw DSSException
Modifier and Type |
Method |
Description |
EncryptionAlgorithm |
DSSPrivateKeyEntry.getEncryptionAlgorithm() |
Get the EncryptionAlgorithm corresponding to the PrivateKey
|
EncryptionAlgorithm |
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 the toBeSigned data with the digest digestAlgorithm , the mask mgf and
the given keyEntry .
|
SignatureValue |
SignatureTokenConnection.sign(ToBeSigned toBeSigned,
DigestAlgorithm digestAlgorithm,
DSSPrivateKeyEntry keyEntry) |
This method signs the toBeSigned data with the digest digestAlgorithm and
the given keyEntry .
|
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 the digest data with the given keyEntry .
|
SignatureValue |
SignatureTokenConnection.signDigest(Digest digest,
DSSPrivateKeyEntry keyEntry) |
This method signs the digest data with the given keyEntry .
|
-
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 alias
|
RemoteKeyEntry |
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 the toBeSigned data with the digest
digestAlgorithm , the mask mgf and the given alias .
|
SignatureValueDTO |
RemoteSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned,
DigestAlgorithm digestAlgorithm,
String alias) |
This method signs the toBeSigned data with the digest
digestAlgorithm and the given alias .
|
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 the digest data with a mask mgf and the
given alias .
|
SignatureValueDTO |
RemoteSignatureTokenConnection.signDigest(DigestDTO digest,
String alias) |
This method signs the digest data with the given alias .
|
SignatureValueDTO |
RemoteSignatureTokenConnectionImpl.signDigest(DigestDTO digest,
MaskGenerationFunction mgf,
String alias) |
|
SignatureValueDTO |
RemoteSignatureTokenConnectionImpl.signDigest(DigestDTO digest,
String alias) |
|
-
-
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 the toExtendDocument
|
RemoteDocument |
RemoteMultipleDocumentsSignatureService.extendDocument(RemoteDocument toExtendDocument,
RemoteSignatureParameters parameters) |
Extends the level of the signatures in the toExtendDocument
|
ToBeSignedDTO |
RemoteDocumentSignatureService.getDataToSign(RemoteDocument toSignDocument,
RemoteSignatureParameters parameters) |
Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters
.
|
ToBeSignedDTO |
RemoteMultipleDocumentsSignatureService.getDataToSign(List<RemoteDocument> toSignDocuments,
RemoteSignatureParameters parameters) |
Retrieves the bytes of the data that need to be signed based on the toSignDocuments and
parameters
.
|
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 document
|
RemoteDocument |
RemoteMultipleDocumentsSignatureService.timestamp(List<RemoteDocument> toTimestampDocuments,
RemoteTimestampParameters parameters) |
Adds timestamps to the given list of documents
|
static TimestampToken |
TimestampTokenConverter.toTimestampToken(TimestampDTO timestampDTO) |
|
-
-
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 the canonicalizationMethod parameter.
|
-
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 signature
|
protected void |
XAdESLevelBaselineLT.checkSignatureIntegrity() |
This method checks the signature integrity and throws a DSSException 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 InputStream
|
ToBeSigned |
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)
|
-