Package com.google.crypto.tink.jwt
Interface JwtPublicKeySign
-
@Immutable public interface JwtPublicKeySignInterface for creating a signed JWT, as described in RFC 7519 and RFC 7515.Security guarantees: similar to
PublicKeySign.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringsignAndEncode(RawJwt token)Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
-
-
-
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
-
-