Returns a JWS header generator compatible with the given secret.
Returns a JWS header generator compatible with the given secret.
Based on secret's length only certain signing algorithms can be chosen. This variant only generates headers which are valid with the given secret.
Reference secret
JWS header generator compatible with the given secret