Class JwsDetachedSignatureProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>

    public class JwsDetachedSignatureProvider
    extends Object
    implements javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
    • Constructor Detail

      • JwsDetachedSignatureProvider

        public JwsDetachedSignatureProvider()
    • Method Detail

      • getSize

        public long getSize​(org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature arg0,
                            Class<?> arg1,
                            Type arg2,
                            Annotation[] arg3,
                            javax.ws.rs.core.MediaType arg4)
        Specified by:
        getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
      • isWriteable

        public boolean isWriteable​(Class<?> cls,
                                   Type t,
                                   Annotation[] anns,
                                   javax.ws.rs.core.MediaType mt)
        Specified by:
        isWriteable in interface javax.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,
                            javax.ws.rs.core.MediaType mt,
                            javax.ws.rs.core.MultivaluedMap<String,​Object> headers,
                            OutputStream os)
                     throws IOException,
                            javax.ws.rs.WebApplicationException
        Specified by:
        writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jws.JwsDetachedSignature>
        Throws:
        IOException
        javax.ws.rs.WebApplicationException