Class JwtEcdsaPublicKeySign

    • 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: JwtPublicKeySign
        Computes a signature, and encodes the JWT and the signature in the JWS compact serialization format.
        Specified by:
        signAndEncode in interface JwtPublicKeySign
        Throws:
        java.security.GeneralSecurityException