Class JwtEcdsaPublicKeySign
- java.lang.Object
-
- com.google.crypto.tink.jwt.subtle.JwtEcdsaPublicKeySign
-
- All Implemented Interfaces:
JwtPublicKeySign
public final class JwtEcdsaPublicKeySign extends java.lang.Object implements JwtPublicKeySign
An implementation ofJwtPublicKeySignfor ECDSA.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JwtPublicKeySigncreate(JwtEcdsaPrivateKey privateKey)java.lang.StringsignAndEncode(RawJwt rawJwt)Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
-
-
-
Method Detail
-
create
public static JwtPublicKeySign create(JwtEcdsaPrivateKey privateKey) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
signAndEncode
public java.lang.String signAndEncode(RawJwt rawJwt) throws java.security.GeneralSecurityException
Description copied from interface:JwtPublicKeySignComputes a signature, and encodes the JWT and the signature in the JWS compact serialization format.- Specified by:
signAndEncodein interfaceJwtPublicKeySign- Throws:
java.security.GeneralSecurityException
-
-