X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2Fsignature%2FCachingKeyResolver.h;h=dec9b026e343ab6c44a512e5097f62c69a270287;hp=361a3978b5f89eee1acacad7dc53998ee8489780;hb=e7a65d784215bc04355f014141219b3e7ab4559a;hpb=77769b2e300d1295b8a5d717d9ede50e27d70cea diff --git a/xmltooling/signature/CachingKeyResolver.h b/xmltooling/signature/CachingKeyResolver.h index 361a397..dec9b02 100644 --- a/xmltooling/signature/CachingKeyResolver.h +++ b/xmltooling/signature/CachingKeyResolver.h @@ -1,45 +1,45 @@ -/* - * Copyright 2001-2006 Internet2 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * @file xmltooling/signature/CachingKeyResolver.h - * - * A KeyResolver that caches content across method calls. - */ - -#if !defined(__xmltooling_cachekeyres_h__) && !defined(XMLTOOLING_NO_XMLSEC) -#define __xmltooling_cachekeyres_h__ - -#include - -namespace xmlsignature { - - /** - * An API for resolving encrypted decryption keys. - */ - class XMLTOOL_API CachingKeyResolver : public xmlsignature::KeyResolver { - public: - virtual ~CachingKeyResolver() {} - - /** - * Clears any cache state. - */ - virtual void clearCache()=0; - }; - -}; - -#endif /* __xmltooling_cachekeyres_h__ */ +/* + * Copyright 2001-2006 Internet2 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file xmltooling/signature/CachingKeyResolver.h + * + * A KeyResolver that caches content across method calls. + */ + +#if !defined(__xmltooling_cachekeyres_h__) && !defined(XMLTOOLING_NO_XMLSEC) +#define __xmltooling_cachekeyres_h__ + +#include + +namespace xmlsignature { + + /** + * An API for resolving encrypted decryption keys. + */ + class XMLTOOL_API CachingKeyResolver : public xmlsignature::KeyResolver { + public: + virtual ~CachingKeyResolver() {} + + /** + * Clears any cache state. + */ + virtual void clearCache()=0; + }; + +}; + +#endif /* __xmltooling_cachekeyres_h__ */