public class MetaDataService extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<MetaDataService> |
__TYPE_ARG |
Constructor and Description |
---|
MetaDataService(io.vertx.ext.auth.webauthn.MetaDataService delegate) |
MetaDataService(Object delegate) |
Modifier and Type | Method and Description |
---|---|
MetaDataService |
addStatement(io.vertx.core.json.JsonObject statement)
Manually feed a Meta Data Statement to the service.
|
boolean |
equals(Object o) |
io.reactivex.rxjava3.core.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.
|
io.vertx.ext.auth.webauthn.MetaDataService |
getDelegate() |
int |
hashCode() |
static MetaDataService |
newInstance(io.vertx.ext.auth.webauthn.MetaDataService arg) |
io.reactivex.rxjava3.core.Single<Boolean> |
rxFetchTOC(String url)
Fetches the FIDO2 TOC for the given URL and process the entries to the metadata store.
|
String |
toString() |
io.vertx.core.json.JsonObject |
verify(io.vertx.ext.auth.webauthn.Authenticator authenticator)
Verify the metadata for a given authenticator.
|
public static final TypeArg<MetaDataService> __TYPE_ARG
public MetaDataService(io.vertx.ext.auth.webauthn.MetaDataService delegate)
public MetaDataService(Object delegate)
public io.vertx.ext.auth.webauthn.MetaDataService getDelegate()
public io.reactivex.rxjava3.core.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 io.reactivex.rxjava3.core.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(io.vertx.core.json.JsonObject statement)
statement
- the json statementpublic MetaDataService flush()
public io.vertx.core.json.JsonObject verify(io.vertx.ext.auth.webauthn.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(io.vertx.ext.auth.webauthn.MetaDataService arg)
Copyright © 2022 Eclipse. All rights reserved.