Package org.keycloak.mdoc
Class MdocValidityInfo
java.lang.Object
org.keycloak.mdoc.MdocValidityInfo
Validity information for the ISO mdoc Mobile Security Object.
The MSO records when the issuer signed the credential, when it becomes valid, and when it expires.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MdocValidityInfoCreates validity information where signed and validFrom both equal the issuance time.
-
Constructor Details
-
MdocValidityInfo
-
-
Method Details
-
issuedAt
Creates validity information where signed and validFrom both equal the issuance time.- Parameters:
issuanceInstant- issuance time used for signed and validFromexpirationInstant- instant after which the mDoc is no longer valid- Returns:
- MSO validity information
-
getSigned
-
getValidFrom
-
getValidUntil
-