Interface JwtPublicKeySign


  • @Immutable
    public interface JwtPublicKeySign
    Interface for creating a signed JWT, as described in RFC 7519 and RFC 7515.

    Security guarantees: similar to PublicKeySign.

    • Method Detail

      • signAndEncode

        java.lang.String signAndEncode​(RawJwt token)
                                throws java.security.GeneralSecurityException
        Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
        Throws:
        java.security.GeneralSecurityException