net.gini.jersey.security.smime.SignedInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jersey-smime Show documentation
Show all versions of jersey-smime Show documentation
Backport of the S/MIME features from resteasy-security
The newest version!
package net.gini.jersey.security.smime;
import net.gini.jersey.util.GenericType;
import java.security.PublicKey;
import java.security.cert.X509Certificate;
/**
* @author Bill Burke
* @version $Revision: 1 $
*/
public interface SignedInput {
T getEntity();
T2 getEntity(Class type);
Object getEntity(GenericType type);
boolean verify() throws Exception;
boolean verify(X509Certificate certificate) throws Exception;
boolean verify(PublicKey publicKey) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy