[xmlsec] Loading a DER-encoded certificate
Aleksey Sanin
aleksey at aleksey.com
Mon Apr 7 18:25:44 PDT 2003
Jesse,
The functions to read keys and certs in DER format are in CVS:
xmlSecCryptoAppKeyLoad(... ,xmlSecKeyDataFormatDer,...);
xmlSecCryptoAppKeyCertLoad(... ,xmlSecKeyDataFormatDer,...);
xmlSecCryptoAppKeysMngrCertLoad(... ,xmlSecKeyDataFormatDer,...);
Now the file format is an input parameter (currently
xmlSecKeyDataFormatDer or
xmlSecKeyDataFormatPem) so these functions could be extended to support
other formats if needed.
All old *Pem* functions a gone thought one can use simple defines if needed.
Please let me know if you need something else :)
Aleksey
> Well, if you can wait a couple days I can write a function for reading
> DER certificates by myself...
More information about the xmlsec
mailing list