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
Constructors Constructor Description PKCS7SignatureReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
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)
-
-
-
Method Detail
-
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
-
-