All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zerodeplibs.webpush.ext.jwt.vertx.Vertx4Support Maven / Gradle / Ivy

Go to download

A sub-module for zerodep-web-push-java. This module provides the JSON Web Token(JWT) generator used for VAPID utilizing [JWT Auth - Vert.x].

The newest version!
package com.zerodeplibs.webpush.ext.jwt.vertx;

import io.vertx.ext.auth.PubSecKeyOptions;

class Vertx4Support {
    static PubSecKeyOptions createOptions(String privateKey) {
        return new PubSecKeyOptions()
            .setAlgorithm("ES256")
            .setBuffer(privateKey);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy