title: retrieve full extension value from certificate
body: <p>I'm using: <strong>java.security.cert.X509Certificate</strong> package. and <strong>java.security.cert.X509CRL;</strong></p>
  
  <p>When I get extension value, for example when OID=2.5.29.14  (it is SubjectKeyIdentifier)
  <strong>cert.getExtensionValue("2.5.29.14");</strong>
  I get this byte[] range:</p>
  
  <p>[4,22,4,20,<strong>5,125,-118,106,-44,108,39,-74,-108,-20,-27,-32,-113,64,-69,125,-8,102,-52,-24</strong>]</p>
  
  <p>When I see in certificate, SubjectKeyIdentifier <strong>starts from 5</strong>. </p>
  
  <p><strong>Question 1: what is at the start of this range? it is 4 byte.</strong></p>
  
  <p>When I see AuthorityKeyIdentifier in X509CRL (AuthorityKeyIdentifier of CRL == SubjectKeyIdentifier Of certificate if CRL is signed by this certificate) there was the same:</p>
  
  <p>[4,24,48,22,-128,20,<strong>5,125,-118,106,-44,108,39,-74,-108,-20,-27,-32,-113,64,-69,125,-8,102,-52,-24</strong>]
  but there was another 6 byte at the beginning. </p>
  
  <p><strong>Question 2: what is at the start of this range? it is 6 byte.</strong></p>
  
  <p>and another question:</p>
  
  <p><strong>Question 3: how to parse ExtensionValue in order to get only Identifier value. is this 4 and 6 byte fixed?  what is the best way for parsing?</strong></p>