title: How to convert string value to ASN.1 value
body: <p>I'm trying to convert some values to ASN.1 format based on some examples, but I haven't success to understand some pieces of my example ASN.1 values...</p>
  <p>First, I have the following ASN.1 value: 13024252<br />
  This value using in string format is: BR<br />
  BR in hex is the last part of the ASN.1 value: 4252</p>
  <p>What's the 1302?</p>
  <p>The second example is very similar:<br />
  ASN.1 value: 130d31333335333233363030313839<br />
  This value using in string format is: 1335323600189<br />
  1335323600189 in hex is the last part of the ASN.1 value: 31333335333233363030313839</p>
  <p>What's the 130d?</p>
  <p>I have to encode my string values because I have to create a subject_dn for a cert and some parts of the subject_dn is in ASN.1 format.
  Using node-forge I can have the attribute values in string format, but couldn't convert them to ASN.1 format.</p>