Skip to content

Commit

Permalink
add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
emattheis committed Jan 30, 2025
1 parent b582013 commit 0ab88e3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

import io.vertx.core.Vertx;

/**
* An interface for providing {@link KeyStoreAndKeyCertOptions} dynamically from CDI beans
*/
@FunctionalInterface
public interface KeyStoreProvider {

/**
* Returns the keystore and options to be used for [re]loading the state of a TLS configuration
*
* @param vertx the managed vertx instance
* @return the keystore and options
*/
KeyStoreAndKeyCertOptions getKeyStore(Vertx vertx);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

import io.vertx.core.Vertx;

/**
* An interface for providing {@link TrustStoreAndTrustOptions} dynamically from CDI beans
*/
@FunctionalInterface
public interface TrustStoreProvider {

/**
* Returns the truststore and options to be used for [re]loading the state of a TLS configuration
*
* @param vertx the managed vertx instance
* @return the truststore and options
*/
TrustStoreAndTrustOptions getTrustStore(Vertx vertx);
}

0 comments on commit 0ab88e3

Please sign in to comment.