public interface ExternalAPI
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpoint(java.lang.String s,
java.nio.channels.Channel channel) |
java.util.concurrent.CompletableFuture<de.fhg.aisec.ids.messages.BrokerProtos.AnnounceServiceResponse> |
announceService(de.fhg.aisec.ids.messages.BrokerProtos.ServiceDescription description)
Method to announce a service to a broker
|
boolean |
hasEndpoint(java.lang.String s) |
java.util.concurrent.CompletableFuture<de.fhg.aisec.ids.messages.Idscp.AttestationResponse> |
requestAttestation(java.lang.String URI,
int nonce)
Method to request attestation
|
void addEndpoint(java.lang.String s,
java.nio.channels.Channel channel)
boolean hasEndpoint(java.lang.String s)
java.util.concurrent.CompletableFuture<de.fhg.aisec.ids.messages.BrokerProtos.AnnounceServiceResponse> announceService(de.fhg.aisec.ids.messages.BrokerProtos.ServiceDescription description)
description - Description of the service to be accouncedjava.util.concurrent.CompletableFuture<de.fhg.aisec.ids.messages.Idscp.AttestationResponse> requestAttestation(java.lang.String URI,
int nonce)
URI - URI of the connecter that is to be verifiednonce - Nonce for freshness proof