-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MOSIP-37581 : added caSignedCertTimeOfUpload, caSignedCertExpiryDateT…
…ime fields (#1010) * MOSIP-37581 : added caSignedCertTimeOfUpload, caSignedCertExpiryDateTime fields Signed-off-by: sudeep <[email protected]> * MOSIP-37581 : added caSignedCertTimeOfUpload, caSignedCertExpiryDateTime fields Signed-off-by: sudeep <[email protected]> * MOSIP-37581 : added caSignedCertTimeOfUpload, caSignedCertExpiryDateTime fields Signed-off-by: sudeep <[email protected]> --------- Signed-off-by: sudeep <[email protected]>
- Loading branch information
1 parent
0d6fa2a
commit e39e37e
Showing
6 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...ce/src/main/java/io/mosip/pms/partner/response/dto/FtmCertificateDownloadResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package io.mosip.pms.partner.response.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Data; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Data | ||
public class FtmCertificateDownloadResponseDto { | ||
/** | ||
* CA Signed Partner Certificate Data. | ||
*/ | ||
@Schema(description = "Data for the CA (Certificate Authority) signed partner certificate", example = "MIICIjANBgkqhkiG9w0BAQEFA...") // Example value should be a realistic but truncated certificate string | ||
private String caSignedCertificateData; | ||
|
||
@Schema(description = "DateTime when the CA certificate was uploaded", example = "2024-07-15T10:00:00Z") | ||
private LocalDateTime caSignedCertTimeOfUpload; | ||
|
||
@Schema(description = "DateTime when the CA certificate will get expired", example = "2024-07-15T10:00:00Z") | ||
private LocalDateTime caSignedCertExpiryDateTime; | ||
|
||
@Schema(description = "Indicates whether the CA signed certificate is expired (true if expired, false otherwise)", example = "false") | ||
private Boolean isCaSignedCertificateExpired; | ||
|
||
/** | ||
* MOSIP Signed Partner Certificate Data. | ||
*/ | ||
@Schema(description = "Data for the MOSIP signed partner certificate", example = "MIICIjANBgkqhkiG9w0BAQEFA...") // Example value should be a realistic but truncated certificate string | ||
private String mosipSignedCertificateData; | ||
|
||
@Schema(description = "DateTime when the mosip certificate was uploaded", example = "2024-07-15T10:00:00Z") | ||
private LocalDateTime mosipSignedCertTimeOfUpload; | ||
|
||
@Schema(description = "DateTime when the mosip certificate will get expired", example = "2024-07-15T10:00:00Z") | ||
private LocalDateTime mosipSignedCertExpiryDateTime; | ||
|
||
@Schema(description = "Indicates whether the MOSIP signed certificate is expired (true if expired, false otherwise)", example = "true") | ||
private Boolean isMosipSignedCertificateExpired; | ||
/** | ||
* Response timestamp. | ||
*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters