Вопрос

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