aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509cert/x509_obj.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-17 14:24:56 +0000
committerlloyd <[email protected]>2010-09-17 14:24:56 +0000
commit25149a9b4cd3ca29eb1ef45871430a6044e6a346 (patch)
tree7ba8f738212c7fbb59647b6a2fc75b95cb25ee9a /src/cert/x509cert/x509_obj.h
parent4ef234d711e1dd40f1cd7ec328e9933fb19dc5ee (diff)
Remove dependencies on X509_Store
Diffstat (limited to 'src/cert/x509cert/x509_obj.h')
-rw-r--r--src/cert/x509cert/x509_obj.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cert/x509cert/x509_obj.h b/src/cert/x509cert/x509_obj.h
index 28ee95073..60c7c4db8 100644
--- a/src/cert/x509cert/x509_obj.h
+++ b/src/cert/x509cert/x509_obj.h
@@ -61,6 +61,14 @@ class BOTAN_DLL X509_Object
bool check_signature(class Public_Key& key) const;
/**
+ * Check the signature on this data
+ * @param key the public key purportedly used to sign this data
+ * the pointer will be deleted after use
+ * @return true if the signature is valid, otherwise false
+ */
+ bool check_signature(class Public_Key* key) const;
+
+ /**
* Encode this to a pipe
* @deprecated use BER_encode or PEM_encode instead
* @param out the pipe to write to