Re: Subject in DER format for PKCS#11

2010-09-21 Thread Christian Hohnstaedt
Hi, On Tue, Sep 21, 2010 at 01:24:01PM +0200, Jan Danielsson wrote: > Hello, > >The PKCS#11 specification stipulates that certificate object should > have a subject attribute which is DER encoded. > >Let's say I have an X509 structure in a C program. Is there an easy > and direct way to

Subject in DER format for PKCS#11

2010-09-21 Thread Jan Danielsson
Hello, The PKCS#11 specification stipulates that certificate object should have a subject attribute which is DER encoded. Let's say I have an X509 structure in a C program. Is there an easy and direct way to get a DER encoded subject from it with OpenSSL? ___