io.mosip.kernel.masterdata.dto.registerdevice.SignResponseDto Maven / Gradle / Ivy
package io.mosip.kernel.masterdata.dto.registerdevice;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
* @author Srinivasan
* @since 1.0.0
*
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SignResponseDto {
/**
* encrypted data
*/
private String signature;
/**
* response time.
*/
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
private LocalDateTime timestamp;
}