Package es.gob.afirma.integraFacade
Class IntegraFacadeWSDSS
- java.lang.Object
-
- es.gob.afirma.integraFacade.IntegraFacadeWSDSS
-
public final class IntegraFacadeWSDSS extends java.lang.ObjectClass that represents the facade which manages the invocation of DSS web services of @Firma.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.2, 18/04/2022.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AsynchronousResponseasynchronousRequest(PendingRequest pendingRequest)Method that obtains the response of the async processes service.BatchVerifyCertificateResponsebatchVerifyCertificate(BatchVerifyCertificateRequest batVerCerReq)Method that obtains the response of the verify certificates on batch service.BatchVerifySignatureResponsebatchVerifySignature(BatchVerifySignatureRequest batVerSigReq)Method that obtains the response of the verify signatures on batch service.ServerSignerResponsecoSign(CoSignRequest coSigReq)Method that obtains the response of the server co-signature service.ServerSignerResponsecounterSign(CounterSignRequest couSigReq)Method that obtains the response of the server counter-signature service.ArchiveResponsegetArchiveRetrieval(ArchiveRequest archiveRequest)Method that obtains the response of the archive signatures retrieve service.static IntegraFacadeWSDSSgetInstance()Method that obtains an instance of the class.ServerSignerResponsesign(ServerSignerRequest serSigReq)Method that obtains the response of the server signature service.ServerSignerResponseupgradeSignature(UpgradeSignatureRequest upgSigReq)Method that obtains the response of the upgrade signature service.VerifyCertificateResponseverifyCertificate(VerifyCertificateRequest verCerReq)Method that obtains the response of the verify certificate service.VerifySignatureResponseverifySignature(VerifySignatureRequest verSigReq)Method that obtains the response of the verify signature service.
-
-
-
Method Detail
-
getInstance
public static IntegraFacadeWSDSS getInstance()
Method that obtains an instance of the class.- Returns:
- the unique instance of the class.
-
sign
public ServerSignerResponse sign(ServerSignerRequest serSigReq)
Method that obtains the response of the server signature service.- Parameters:
serSigReq- Parameter that represents the request of the server signature service.- Returns:
- an object that represents the response of the server signature service.
-
coSign
public ServerSignerResponse coSign(CoSignRequest coSigReq)
Method that obtains the response of the server co-signature service.- Parameters:
coSigReq- Parameter that represents the request of the server co-signature service.- Returns:
- an object that represents the response of the server co-signature service.
-
counterSign
public ServerSignerResponse counterSign(CounterSignRequest couSigReq)
Method that obtains the response of the server counter-signature service.- Parameters:
couSigReq- Parameter that represents the request of the server counter-signature service.- Returns:
- an object that represents the response of the server counter-signature service.
-
verifySignature
public VerifySignatureResponse verifySignature(VerifySignatureRequest verSigReq)
Method that obtains the response of the verify signature service.- Parameters:
verSigReq- Parameter that represents the request of the verify signature service.- Returns:
- an object that represents the response of the verify signature service.
-
upgradeSignature
public ServerSignerResponse upgradeSignature(UpgradeSignatureRequest upgSigReq)
Method that obtains the response of the upgrade signature service.- Parameters:
upgSigReq- Parameter that represents the request of the upgrade signature service.- Returns:
- an object that represents the response of the upgrade signature service.
-
verifyCertificate
public VerifyCertificateResponse verifyCertificate(VerifyCertificateRequest verCerReq)
Method that obtains the response of the verify certificate service.- Parameters:
verCerReq- Parameter that represents the request of the verify certificate service.- Returns:
- an object that represents the response of the verify certificate service.
-
batchVerifySignature
public BatchVerifySignatureResponse batchVerifySignature(BatchVerifySignatureRequest batVerSigReq)
Method that obtains the response of the verify signatures on batch service.- Parameters:
batVerSigReq- Parameter that represents the request of the verify signatures on batch service.- Returns:
- an object that represents the response of the verify signatures on batch service.
-
batchVerifyCertificate
public BatchVerifyCertificateResponse batchVerifyCertificate(BatchVerifyCertificateRequest batVerCerReq)
Method that obtains the response of the verify certificates on batch service.- Parameters:
batVerCerReq- Parameter that represents the request of the verify certificates on batch service.- Returns:
- an object that represents the response of the verify certificates on batch service.
-
asynchronousRequest
public AsynchronousResponse asynchronousRequest(PendingRequest pendingRequest)
Method that obtains the response of the async processes service.- Parameters:
pendingRequest- Parameter that represents the request of the async processes service.- Returns:
- an object that represents the response of the async processes service.
-
getArchiveRetrieval
public ArchiveResponse getArchiveRetrieval(ArchiveRequest archiveRequest)
Method that obtains the response of the archive signatures retrieve service.- Parameters:
archiveRequest- Parameter that represents the request of the archive signatures retrieve service.- Returns:
- an object that represents the response of the archive signatures retrieve service.
-
-