All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nimbusds.openid.connect.provider.spi.crypto.JWSVerifier Maven / Gradle / Ivy

Go to download

SDK for Connect2id Server extensions, such as OpenID Connect claims sources and OAuth 2.0 grant handlers

There is a newer version: 5.8
Show newest version
package com.nimbusds.openid.connect.provider.spi.crypto;


import net.jcip.annotations.ThreadSafe;

import com.nimbusds.jose.JWSObject;


/**
 * Interface exposed by the Connect2id server for verifying JSON Web Signatures
 * (JWS), such as for JSON Web Tokens (JWT) created by the {@link JWTSigner}.
 */
@ThreadSafe
public interface JWSVerifier {
	
	
	/**
	 * Verifies the signature of the specified JWS object.
	 *
	 * @param jwsObject The JWS object. Must not be {@code null}.
	 *
	 * @return {@code true} if the signature is valid, else {@code false}.
	 */
	boolean verifySignature(final JWSObject jwsObject);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy