문제

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