سؤال

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