/*
- * Copyright 2006 The Apache Software Foundation.
+ * Copyright 2001-2009 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
class XMLTOOL_API XSECCryptoX509CRL {
MAKE_NONCOPYABLE(XSECCryptoX509CRL);
protected:
- XSECCryptoX509CRL() {}
+ XSECCryptoX509CRL();
public:
- virtual ~XSECCryptoX509CRL() {}
+ virtual ~XSECCryptoX509CRL();
/**
* Returns a string that identifies the crypto owner of this library.
*/
virtual const XMLCh* getProviderName() const=0;
- /**
- * Load a CRL into the object.
- * Takes a base64 DER-encoded CRL and loads it.
- *
- * @param buf buffer containing the Base64 encoded CRL
- * @param len number of bytes of data in the CRL buffer
- */
-
/**
* Returns a duplicate of the original object.
*
*/
virtual XSECCryptoX509CRL* clone() const=0;
+ /**
+ * Load a Base64-encoded CRL into the object.
+ *
+ * @param buf buffer containing the base64-encoded CRL
+ * @param len number of bytes of data in the CRL buffer (0 if the string is null terminated)
+ */
virtual void loadX509CRLBase64Bin(const char* buf, unsigned int len)=0;
/**
* Load a PEM encoded CRL into the object.
*
- * Takes a PEM encoded CRL and loads it.
- *
* @param buf buffer containing the PEM encoded CRL
* @param len number of bytes of data in the CRL buffer (0 if the string is null terminated)
*/