Converts a JOSE::JWS into a binary.
Returns:
333 334 335
# File 'lib/jose/jws.rb', line 333 def to_binary return JOSE.encode(to_map) end