public interface JWSVerifierFactory extends JWSProvider
| Modifier and Type | Method and Description |
|---|---|
JWSVerifier |
createJWSVerifier(JWSHeader header,
Key key)
Creates a new JWS verifier for the specified header and key.
|
supportedJWSAlgorithmsgetJCAContextJWSVerifier createJWSVerifier(JWSHeader header, Key key) throws JOSEException
header - The JWS header. Not null.key - The key intended to verify the JWS message. Not
null.JOSEException - If the JWS algorithm is not supported or the
key type or length doesn't match the expected
for the JWS algorithm.Copyright © 2016 Connect2id Ltd.. All rights reserved.