Class PKCS7SignatureReader
java.lang.Object
org.jboss.resteasy.security.smime.PKCS7SignatureReader
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<PKCS7SignatureInput>
@Provider
@Consumes("application/pkcs7-signature")
public class PKCS7SignatureReader
extends Object
implements jakarta.ws.rs.ext.MessageBodyReader<PKCS7SignatureInput>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReadable
(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) readFrom
(Class<PKCS7SignatureInput> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream entityStream)
-
Constructor Details
-
PKCS7SignatureReader
public PKCS7SignatureReader()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isReadable
in interfacejakarta.ws.rs.ext.MessageBodyReader<PKCS7SignatureInput>
-
readFrom
public PKCS7SignatureInput readFrom(Class<PKCS7SignatureInput> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
readFrom
in interfacejakarta.ws.rs.ext.MessageBodyReader<PKCS7SignatureInput>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-