I am trying to port a Java code that made some time ago to iOS, i compiled xmlsec with openssl and no xslt support.

import java.security.cert.X509Certificate;

X509Certificate cert = ...
cert.getIssuerX500Principal().getName();
cert.getSerialNumber();

edit: The code could be in xmlsec or openssl.

有帮助吗?

解决方案

I used xmlsec to generate the xmlsignature and had to parse that info out of it...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top