title: How to change UTf8_STRING encoding to Printable_STRING in bouncy castle
body: <p>We are implementing Windows MDM. In this,we we generate <code>X509Certificate</code> device certificate from <code>PKCS#10</code> CSR(obtained from device in previuos request) using BC library.</p>
  
  <p>Now problem is subject property of device cert has <code>UTF8_STRING</code> encoding and I want to override it to <code>PRINTABLE_STRING</code>.</p>
  
  <p>I need to override behavior of BC library to use <code>ASN.1 type: PRINTABLE_STRING</code>.
  But I am not getting way to do it.</p>