$ wget http://www.sk.ee/upload/files/JUUR-SK.der
$ openssl x509 -in JUUR-SK.der -inform DER -text
[..]
X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.10015.1.1.1
User Notice:
Explicit Text:
CPS: http://www.sk.ee/cps/
$ dumpasn1 -hh JUUR-SK.der
[..]
614 8:OBJECT IDENTIFIER unotice (1 3 6 1 5 5 7 2 2)
<30 81 C3 1E 81 C0 00 53 00 65 00 65 00 20 00 73 00 65 00 72 00 74 00 69>
624 195:SEQUENCE {
<1E 81 C0 00 53 00 65 00 65 00 20 00 73 00 65 00 72 00 74 00 69 00 66 00>
627 192:BMPString
:'See sertifikaat on v..ljastatud AS-is Sertifitse'
:'erimiskeskus alam-SK sertifikaatide kinnitamiseks'
:}
:}
Since "Explicit Text" is BMPString containing UCS-2 encoded string,
BIO_printf() stops at first null byte.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]