diff options
author | Jack Lloyd <[email protected]> | 2017-04-04 16:46:16 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-04-04 16:46:16 -0400 |
commit | a17bfd26d81d2182a5ecccb98f75ff05c7c999bd (patch) | |
tree | d977c7163cd50329141d32277c4e0a97b787a358 /src/lib/x509/x509cert.h | |
parent | 542c6cb7338530b4a8f7d93f2410567815d993ef (diff) | |
parent | b0068f74fb15aa4ffcb9225a60c0aaff89209b62 (diff) |
Merge GH #900 Add ability to search by X509 DN hash
Diffstat (limited to 'src/lib/x509/x509cert.h')
-rw-r--r-- | src/lib/x509/x509cert.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/x509/x509cert.h b/src/lib/x509/x509cert.h index ab943db4b..ceadf88c5 100644 --- a/src/lib/x509/x509cert.h +++ b/src/lib/x509/x509cert.h @@ -96,16 +96,26 @@ class BOTAN_DLL X509_Certificate : public X509_Object std::vector<std::string> issuer_info(const std::string& name) const; /** - * Raw subject DN + * Raw issuer DN */ std::vector<uint8_t> raw_issuer_dn() const; /** - * Raw issuer DN + * SHA-256 of Raw issuer DN + */ + std::vector<uint8_t> raw_issuer_dn_sha256() const; + + /** + * Raw subject DN */ std::vector<uint8_t> raw_subject_dn() const; /** + * SHA-256 of Raw subject DN + */ + std::vector<uint8_t> raw_subject_dn_sha256() const; + + /** * Get the notBefore of the certificate. * @return notBefore of the certificate */ |