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

com.clouway.oauth2.jws.Signature Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package com.clouway.oauth2.jws;

/**
 * Signature is representing a single JWS signature that is applied over received messages.
 * 

* * @author Miroslav Genov ([email protected]) */ public interface Signature { /** * Verify is verifying Signature using the provided privateKey as PEM file. *

* * @param content the content to be verified * @param privateKeyPem the private key used for verifying * @return true if signature is */ boolean verify(byte[] content, String privateKeyPem); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy