aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/x509info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/x509info.cpp')
-rw-r--r--doc/examples/x509info.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/examples/x509info.cpp b/doc/examples/x509info.cpp
index 6694ab5e1..4bcf17a20 100644
--- a/doc/examples/x509info.cpp
+++ b/doc/examples/x509info.cpp
@@ -69,6 +69,9 @@ int main(int argc, char* argv[])
do_subject(cert, "Locality");
do_subject(cert, "State");
do_subject(cert, "Country");
+ do_subject(cert, "IP");
+ do_subject(cert, "DNS");
+ do_subject(cert, "URI");
do_subject(cert, "PKIX.XMPPAddr");
std::cout << "Issuer" << std::endl;
@@ -79,6 +82,9 @@ int main(int argc, char* argv[])
do_issuer(cert, "Locality");
do_issuer(cert, "State");
do_issuer(cert, "Country");
+ do_issuer(cert, "IP");
+ do_issuer(cert, "DNS");
+ do_issuer(cert, "URI");
std::cout << "Validity" << std::endl;