From 41a7025d552f224bf72b11ce5f490e5ce64d93e7 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 20 Oct 2015 16:49:51 +0200 Subject: Update doc for issuer_dn() and subject_dn() [ci skip] --- src/lib/cert/x509/x509cert.cpp | 6 ------ src/lib/cert/x509/x509cert.h | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/lib') diff --git a/src/lib/cert/x509/x509cert.cpp b/src/lib/cert/x509/x509cert.cpp index 48e437352..43bf1099d 100644 --- a/src/lib/cert/x509/x509cert.cpp +++ b/src/lib/cert/x509/x509cert.cpp @@ -310,9 +310,6 @@ std::vector X509_Certificate::serial_number() const return subject.get1_memvec("X509.Certificate.serial"); } -/* -* Return the distinguished name of the issuer -*/ X509_DN X509_Certificate::issuer_dn() const { return create_dn(issuer); @@ -323,9 +320,6 @@ std::vector X509_Certificate::raw_issuer_dn() const return issuer.get1_memvec("X509.Certificate.dn_bits"); } -/* -* Return the distinguished name of the subject -*/ X509_DN X509_Certificate::subject_dn() const { return create_dn(subject); diff --git a/src/lib/cert/x509/x509cert.h b/src/lib/cert/x509/x509cert.h index 9fd3e660a..1a46d290f 100644 --- a/src/lib/cert/x509/x509cert.h +++ b/src/lib/cert/x509/x509cert.h @@ -37,13 +37,13 @@ class BOTAN_DLL X509_Certificate : public X509_Object std::vector subject_public_key_bits() const; /** - * Get the issuer certificate DN. + * Get the certificate's issuer distinguished name (DN). * @return issuer DN of this certificate */ X509_DN issuer_dn() const; /** - * Get the subject certificate DN. + * Get the certificate's subject distinguished name (DN). * @return subject DN of this certificate */ X509_DN subject_dn() const; -- cgit v1.2.3