Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Subject Key Identifier of x509 v3 certificate

843811Jul 14 2005 — edited Jul 20 2005
Hi everyone,

I have the following code I am using to extract the Subject Key Identifier from a X509 Certificate-

byte[] subjectKeyIdentifier =
cert.getExtensionValue("2.5.29.14");

This returns the DER encoded Octet string. However I want the octet string exclusing the encoding of the octet string prefix... How do I know the exact length of the prefix?

appreciate any help,
--Manveen
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2005
Added on Jul 14 2005
5 comments
977 views