title: How to solve the "DerValue.get OID, not an OID"?
body: <p>I want to create a certificate with the certificate policy extension and use the following code.</p>
  
  <pre><code>CertificatePolicyId certificatePolicyId2=new CertificatePolicyId(new DerValue("2.5.29.32.1"));    
  PolicyInformation policyInformation2=new PolicyInformation(certificatePolicyId2, null);    
  List&lt;PolicyInformation&gt; policyInformations=new ArrayList&lt;PolicyInformation&gt;();   
  policyInformations.add(policyInformation2);    
  certificateExtensions.set(CertificatePoliciesExtension.NAME, new CertificatePoliciesExtension(policyInformations));
  </code></pre>
  
  <p>But an exception was thrown:</p>
  
  <pre><code>java.io.IOException: DerValue.getOID, not an OID 19
      at sun.security.util.DerValue.getOID(DerValue.java:447)
      at sun.security.x509.CertificatePolicyId.&lt;init&gt;(CertificatePolicyId.java:56)
  </code></pre>
  
  <p>How to set the <code>String arg0</code> of <code>new DerValue(String arg0)</code>? </p>
  
  <p>Thanks!</p>