Package io.jans.fido2.service.mds
Class TocService
- java.lang.Object
-
- io.jans.fido2.service.mds.TocService
-
@ApplicationScoped public class TocService extends Object
TOC is parsed and Hashmap containing JSON object of individual Authenticators is created.
-
-
Constructor Summary
Constructors Constructor Description TocService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
downloadMdsFromServer(URL metadataUrl)
com.fasterxml.jackson.databind.JsonNode
getAuthenticatorsMetadata(String aaguid)
MessageDigest
getDigester()
LocalDate
getNextUpdateDate()
void
init(Object init)
void
refresh()
-
-
-
Method Detail
-
getNextUpdateDate
public LocalDate getNextUpdateDate()
-
init
public void init(@Observes @ApplicationInitialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
refresh
public void refresh()
-
getAuthenticatorsMetadata
public com.fasterxml.jackson.databind.JsonNode getAuthenticatorsMetadata(String aaguid)
-
getDigester
public MessageDigest getDigester()
-
downloadMdsFromServer
public boolean downloadMdsFromServer(URL metadataUrl)
-
-