/** * Creates a helper for creating registration assertions. * * @param vertx The vertx instance to use for accessing the file system. * @param config The configuration properties to determine the signing key material from. * @return The helper. * @throws NullPointerException if any of the params is {@code null}. * @throws IllegalArgumentException if the key material cannot be determined from config. */ public static RegistrationAssertionHelper forSigning(final Vertx vertx, final SignatureSupportingConfigProperties config) { return JwtHelper.forSigning(config, () -> new RegistrationAssertionHelperImpl(vertx)); }
/** * Creates a helper for validating registration assertions. * * @param vertx The vertx instance to use for accessing the file system. * @param config The configuration properties to determine the signing key material from. * @return The helper. * @throws NullPointerException if any of the params is {@code null}. * @throws IllegalArgumentException if the key material cannot be determined from config. */ public static RegistrationAssertionHelper forValidating(final Vertx vertx, final SignatureSupportingConfigProperties config) { return JwtHelper.forValidating(config, () -> new RegistrationAssertionHelperImpl(vertx)); }
/** * Creates a helper for validating registration assertions. * * @param vertx The vertx instance to use for accessing the file system. * @param config The configuration properties to determine the signing key material from. * @return The helper. * @throws NullPointerException if any of the params is {@code null}. * @throws IllegalArgumentException if the key material cannot be determined from config. */ public static RegistrationAssertionHelper forValidating(final Vertx vertx, final SignatureSupportingConfigProperties config) { return JwtHelper.forValidating(config, () -> new RegistrationAssertionHelperImpl(vertx)); }
/** * Creates a helper for creating registration assertions. * * @param vertx The vertx instance to use for accessing the file system. * @param config The configuration properties to determine the signing key material from. * @return The helper. * @throws NullPointerException if any of the params is {@code null}. * @throws IllegalArgumentException if the key material cannot be determined from config. */ public static RegistrationAssertionHelper forSigning(final Vertx vertx, final SignatureSupportingConfigProperties config) { return JwtHelper.forSigning(config, () -> new RegistrationAssertionHelperImpl(vertx)); }