X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fsecurity%2FOpenSSLTrustEngine.h;h=6f3bacf4d1b072305fb7edab10f3fad5ba97c5fa;hb=a0d768778a8f5f539b909baf5b115e70ea765f0f;hp=a44cd56033f33b6c77c23a2c11078cd8dbdb25f3;hpb=6505807a62569ce65803b448b07a6872c6af2512;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/security/OpenSSLTrustEngine.h b/xmltooling/security/OpenSSLTrustEngine.h index a44cd56..6f3bacf 100644 --- a/xmltooling/security/OpenSSLTrustEngine.h +++ b/xmltooling/security/OpenSSLTrustEngine.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2010 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,11 +49,13 @@ namespace xmltooling { * * @param e DOM to supply configuration for provider */ - OpenSSLTrustEngine(const DOMElement* e=NULL) : X509TrustEngine(e) {} + OpenSSLTrustEngine(const xercesc::DOMElement* e=nullptr); public: - virtual ~OpenSSLTrustEngine() {} - + virtual ~OpenSSLTrustEngine(); + + using X509TrustEngine::validate; + /** * Determines whether an X.509 credential is valid with respect to the * source of credentials supplied. @@ -75,7 +77,7 @@ namespace xmltooling { virtual bool validate( X509* certEE, STACK_OF(X509)* certChain, const CredentialResolver& credResolver, - CredentialCriteria* criteria=NULL + CredentialCriteria* criteria=nullptr ) const=0; };