diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-08 11:58:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-08 11:58:38 +0100 |
| commit | a353528b070fe264ce60220b4af07d0561494def (patch) | |
| tree | 341e62026ad366a548836019b49c5789e70525a7 /src/certificates.h | |
| parent | c1763d2ca9cb4dd38d9eec28f6304f45b29bf9d5 (diff) | |
Improve certificate handling a bit and fix up tests.encryption
Diffstat (limited to 'src/certificates.h')
| -rw-r--r-- | src/certificates.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/certificates.h b/src/certificates.h index e1a572ec..42ae8d27 100644 --- a/src/certificates.h +++ b/src/certificates.h @@ -52,9 +52,11 @@ public: std::string thumbprint () const; - static std::string name_for_xml (std::string const &); - private: + static std::string name_for_xml (X509_NAME *); + static std::string asn_to_utf8 (ASN1_STRING *); + static std::string get_name_part (X509_NAME *, int); + X509* _certificate; }; |
