/*
- * Copyright 2001-2007 Internet2
+ * Copyright 2001-2009 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* @param e DOM to supply configuration for provider
*/
- OpenSSLTrustEngine(const xercesc::DOMElement* e=NULL) : X509TrustEngine(e) {}
+ OpenSSLTrustEngine(const xercesc::DOMElement* e=NULL);
public:
- virtual ~OpenSSLTrustEngine() {}
+ virtual ~OpenSSLTrustEngine();
- virtual bool validate(
- xmlsignature::Signature& sig,
- const CredentialResolver& credResolver,
- CredentialCriteria* criteria=NULL
- ) const=0;
-
- virtual bool validate(
- const XMLCh* sigAlgorithm,
- const char* sig,
- xmlsignature::KeyInfo* keyInfo,
- const char* in,
- unsigned int in_len,
- const CredentialResolver& credResolver,
- CredentialCriteria* criteria=NULL
- ) const=0;
-
- virtual bool validate(
- XSECCryptoX509* certEE,
- const std::vector<XSECCryptoX509*>& certChain,
- const CredentialResolver& credResolver,
- CredentialCriteria* criteria=NULL
- ) const=0;
+ using X509TrustEngine::validate;
/**
* Determines whether an X.509 credential is valid with respect to the