Validate MIME type and cypher type during order creation

Change-Id: I75549934d0f0d3b411e388ad4321b62253d76f3d