All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.kernel.packetmanager.spi.PacketCreator Maven / Gradle / Ivy

package io.mosip.kernel.packetmanager.spi;

import io.mosip.kernel.packetmanager.dto.AuditDto;
import io.mosip.kernel.packetmanager.dto.BiometricsDto;
import io.mosip.kernel.packetmanager.dto.DocumentDto;
import io.mosip.kernel.packetmanager.dto.SimpleDto;
import io.mosip.kernel.packetmanager.dto.metadata.BiometricsException;
import io.mosip.kernel.packetmanager.dto.metadata.DeviceMetaInfo;
import io.mosip.kernel.packetmanager.exception.PacketCreatorException;

import java.util.List;
import java.util.Map;


public interface PacketCreator {
			
	public void initialize();
	
	public void setField(String fieldName, Object value);
	
	public void setField(String fieldName, List value);
	
	public void setBiometric(String fieldName, List value);
	
	public void setDocument(String fieldName, DocumentDto value);
	
	public void setMetaInfo(String key, String value);
	
	public void setOperationsInfo(String key, String value);
	
	public void setBiometricException(String fieldName, List modalityExceptions);
	
	public void setAudits(List auditList);
	
	public void setAcknowledgement(String acknowledgeReceiptName, byte[] acknowledgeReceipt);
	
	public void setChecksum(String key, String value);
	
	public void setRegisteredDeviceDetails(List deviceDetails);
	
	public void setPrintingName(String langauge, String printingName);
	
	public byte[] createPacket(String registrationId, double version, String schemaJson,
                               Map categoryPacketMapping, byte[] publicKey, PacketSigner signer) throws PacketCreatorException;
	
	public Map getIdentityObject();
	
	public void setOfficerBiometric(String userId, String officerRole, List value);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy