MCPcopy Create free account
hub / github.com/jwtk/jjwt / getAlgorithm

Method getAlgorithm

api/src/main/java/io/jsonwebtoken/Header.java:148–148  ·  view source on GitHub ↗

Returns the JWT alg (Algorithm) header value or null if not present. If the JWT is a Signed JWT (a JWS), the alg (Algorithm) header parameter identifies the cryptographic algorithm used t

()

Source from the content-addressed store, hash-verified

146 * @since 0.12.0
147 */
148 String getAlgorithm();
149
150 /**
151 * Returns the JWT <a href="https://tools.ietf.org/html/rfc7516#section-4.1.3"><code>zip</code></a>

Callers 3

parseMethod · 0.95
resolveSigningKeyMethod · 0.65
assertValidMethod · 0.65

Implementers 2

DefaultHeaderimpl/src/main/java/io/jsonwebtoken/imp
DefaultMutableJweHeaderimpl/src/main/java/io/jsonwebtoken/imp

Calls

no outgoing calls

Tested by

no test coverage detected