Method: Mongo::Protocol::Message#maybe_decrypt
- Defined in:
- lib/mongo/protocol/message.rb
#maybe_decrypt(context) ⇒ Mongo::Protocol::Msg
Possibly decrypt this message with libmongocrypt.
152 153 154 155 156 157 158 |
# File 'lib/mongo/protocol/message.rb', line 152 def maybe_decrypt(context) # TODO determine if we should be decrypting data coming from pre-4.2 # servers, potentially using legacy wire protocols. If so we need # to implement decryption for those wire protocols as our current # encryption/decryption code is OP_MSG-specific. self end |