Hi,


I'm trying to add extensions to my certificate, I use:
CertificateInfo.addExtension(org.mozilla.jss.Certs.Extension)
and
Extension(OBJECT_IDENTIFIER extnId, boolean critical, OCTET_STRING
extnValue)
but I don't know how to create my OCTET_STRING

I've try to use a String.getBytes() method and OCTET_STRING(Bytes[])
constructor, but it doesn't work...

Have someone try to do this?

Thanks for your help

Matthieu

Reply via email to