JWSHeader.getAlgorithm

Returns algorithm ({@code alg }) used to sign the JWS, {@code null} if not specified.

returns java.lang.String