Class AbstractRemoteSignatureServiceImpl
java.lang.Object
eu.europa.esig.dss.ws.signature.common.AbstractRemoteSignatureServiceImpl
- Direct Known Subclasses:
RemoteDocumentSignatureServiceImpl
,RemoteExternalCMSServiceImpl
,RemoteMultipleDocumentsSignatureServiceImpl
,RemotePAdESWithExternalCMSServiceImpl
,RemoteTrustedListSignatureServiceImpl
The abstract remote signature service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SerializableCounterSignatureParameters
createCounterSignatureParameters
(RemoteSignatureParameters remoteParameters) Creates counter signature parametersprotected SerializableSignatureParameters
createParameters
(RemoteSignatureParameters remoteParameters) CreatesSerializableSignatureParameters
fromRemoteSignatureParameters
protected void
fillParameters
(AbstractSignatureParameters<TimestampParameters> parameters, RemoteSignatureParameters remoteParameters) Fills the parametersprotected SerializableSignatureParameters
getASiCSignatureParameters
(ASiCContainerType asicContainerType, SignatureForm signatureForm) Gets the ASiC Signature Parametersprotected SerializableCounterSignatureParameters
getJAdESSignatureParameters
(RemoteSignatureParameters remoteParameters) ReturnSerializableCounterSignatureParameters
in order to support counter signatureprotected SerializableSignatureParameters
getPAdESSignatureParameters
(RemoteSignatureParameters remoteParameters) Gets PAdES signature parametersprotected SerializableSignatureParameters
getXAdESSignatureParameters
(RemoteSignatureParameters remoteParameters) Gets XAdES signature parametersprotected BLevelParameters
toBLevelParameters
(RemoteBLevelParameters remoteBLevelParameters) ConvertsRemoteBLevelParameters
toBLevelParameters
protected List<CommitmentType>
toCommitmentTypeList
(List<CommitmentTypeEnum> commitmentTypeEnums) Transforms a list ofCommitmentTypeEnum
s to a list ofCommitmentType
sprotected SignatureValue
toSignatureValue
(SignatureValueDTO signatureValueDTO) TransformsSignatureValueDTO
toSignatureValue
protected TimestampParameters
toTimestampParameters
(RemoteTimestampParameters remoteTimestampParameters) TransformsRemoteTimestampParameters
toTimestampParameters
protected TimestampParameters
toTimestampParameters
(RemoteTimestampParameters remoteTimestampParameters, SignatureForm signatureForm, ASiCContainerType asicContainerType) Transforms ASiCRemoteTimestampParameters
toTimestampParameters
-
Constructor Details
-
AbstractRemoteSignatureServiceImpl
protected AbstractRemoteSignatureServiceImpl()Default constructor
-
-
Method Details
-
getASiCSignatureParameters
protected SerializableSignatureParameters getASiCSignatureParameters(ASiCContainerType asicContainerType, SignatureForm signatureForm) Gets the ASiC Signature Parameters- Parameters:
asicContainerType
-ASiCContainerType
signatureForm
-SignatureForm
- Returns:
SerializableSignatureParameters
-
createParameters
protected SerializableSignatureParameters createParameters(RemoteSignatureParameters remoteParameters) CreatesSerializableSignatureParameters
fromRemoteSignatureParameters
- Parameters:
remoteParameters
-RemoteSignatureParameters
- Returns:
SerializableSignatureParameters
-
getXAdESSignatureParameters
protected SerializableSignatureParameters getXAdESSignatureParameters(RemoteSignatureParameters remoteParameters) Gets XAdES signature parameters- Parameters:
remoteParameters
-RemoteSignatureParameters
- Returns:
SerializableSignatureParameters
-
getPAdESSignatureParameters
protected SerializableSignatureParameters getPAdESSignatureParameters(RemoteSignatureParameters remoteParameters) Gets PAdES signature parameters- Parameters:
remoteParameters
-RemoteSignatureParameters
- Returns:
SerializableSignatureParameters
-
getJAdESSignatureParameters
protected SerializableCounterSignatureParameters getJAdESSignatureParameters(RemoteSignatureParameters remoteParameters) ReturnSerializableCounterSignatureParameters
in order to support counter signature- Parameters:
remoteParameters
-RemoteSignatureParameters
- Returns:
SerializableCounterSignatureParameters
-
fillParameters
protected void fillParameters(AbstractSignatureParameters<TimestampParameters> parameters, RemoteSignatureParameters remoteParameters) Fills the parameters- Parameters:
parameters
-AbstractSignatureParameters
to fillremoteParameters
-RemoteSignatureParameters
to get values from
-
toBLevelParameters
ConvertsRemoteBLevelParameters
toBLevelParameters
- Parameters:
remoteBLevelParameters
-RemoteBLevelParameters
- Returns:
BLevelParameters
-
toTimestampParameters
protected TimestampParameters toTimestampParameters(RemoteTimestampParameters remoteTimestampParameters) TransformsRemoteTimestampParameters
toTimestampParameters
- Parameters:
remoteTimestampParameters
-RemoteTimestampParameters
- Returns:
TimestampParameters
-
toTimestampParameters
protected TimestampParameters toTimestampParameters(RemoteTimestampParameters remoteTimestampParameters, SignatureForm signatureForm, ASiCContainerType asicContainerType) Transforms ASiCRemoteTimestampParameters
toTimestampParameters
- Parameters:
remoteTimestampParameters
-RemoteTimestampParameters
signatureForm
-SignatureForm
asicContainerType
-ASiCContainerType
- Returns:
TimestampParameters
-
toSignatureValue
TransformsSignatureValueDTO
toSignatureValue
- Parameters:
signatureValueDTO
-SignatureValueDTO
- Returns:
SignatureValue
-
toCommitmentTypeList
Transforms a list ofCommitmentTypeEnum
s to a list ofCommitmentType
s- Parameters:
commitmentTypeEnums
- a list ofCommitmentTypeEnum
s- Returns:
- a list of
CommitmentType
s
-
createCounterSignatureParameters
protected SerializableCounterSignatureParameters createCounterSignatureParameters(RemoteSignatureParameters remoteParameters) Creates counter signature parameters- Parameters:
remoteParameters
-RemoteSignatureParameters
- Returns:
SerializableCounterSignatureParameters
-