Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MetaDataService> |
__TYPE_ARG |
Constructor and Description |
---|
MetaDataService(MetaDataService delegate) |
MetaDataService(Object delegate) |
Modifier and Type | Method and Description |
---|---|
MetaDataService |
addStatement(JsonObject statement)
Manually feed a Meta Data Statement to the service.
|
boolean |
equals(Object o) |
Single<Boolean> |
fetchTOC(String url)
Fetches the FIDO2 TOC for the given URL and process the entries to the metadata store.
|
MetaDataService |
flush()
Clears all loaded statements, both from the TOC and manually inserted.
|
MetaDataService |
getDelegate() |
int |
hashCode() |
static MetaDataService |
newInstance(MetaDataService arg) |
Single<Boolean> |
rxFetchTOC(String url)
Fetches the FIDO2 TOC for the given URL and process the entries to the metadata store.
|
String |
toString() |
JsonObject |
verify(Authenticator authenticator)
Verify the metadata for a given authenticator.
|
public static final io.vertx.lang.rx.TypeArg<MetaDataService> __TYPE_ARG
public MetaDataService(MetaDataService delegate)
public MetaDataService(Object delegate)
public MetaDataService getDelegate()
public Single<Boolean> fetchTOC(String url)
true
only if all
entries have been added. false
if they have been processed but at least one was
invalid.
The operation will only fail on network problems.url
- the url to the TOCpublic Single<Boolean> rxFetchTOC(String url)
true
only if all
entries have been added. false
if they have been processed but at least one was
invalid.
The operation will only fail on network problems.url
- the url to the TOCpublic MetaDataService addStatement(JsonObject statement)
statement
- the json statementpublic MetaDataService flush()
public JsonObject verify(Authenticator authenticator)
null
.
When a statement is found, the statement will be used to verify the certificate chain. A failure during this
verification will throw a RuntimeException
.authenticator
- authenticator to verifynull
.public static MetaDataService newInstance(MetaDataService arg)
Copyright © 2021 Eclipse. All rights reserved.