Class PayloadFactory


  • @Component
    public class PayloadFactory
    extends Object
    • Method Detail

      • makePayloadList

        public List<UploadPayload> makePayloadList​(List<FederationUploadKey> diagnosisKeys)
        Generates the Payload objects based on a list of Diagnosis Keys. This method will generate batches, add a proper batch tag and sign them with the server private key.
        Parameters:
        diagnosisKeys - List of Diagnosis Keys.
        Returns:
        upload payload object UploadPayload.