Class JwsDetachedSignatureProvider
java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.JwsDetachedSignatureProvider
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
public class JwsDetachedSignatureProvider
extends Object
implements jakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetSize(org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4) booleanisWriteable(Class<?> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt) voidwriteTo(org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature parts, Class<?> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream os)
-
Constructor Details
-
JwsDetachedSignatureProvider
public JwsDetachedSignatureProvider()
-
-
Method Details
-
getSize
public long getSize(org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature arg0, Class<?> arg1, Type arg2, Annotation[] arg3, jakarta.ws.rs.core.MediaType arg4) - Specified by:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
-
isWriteable
public boolean isWriteable(Class<?> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt) - Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
-
writeTo
public void writeTo(org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature parts, Class<?> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt, jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, OutputStream os) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-