/*
- * Copyright 2006 The Apache Software Foundation.
+ * Copyright 2001-2007 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.
*/
/**
- * OpenSSLCryptoX509CRL.h
+ * @file xmltooling/security/OpenSSLCryptoX509CRL.h
*
* OpenSSL-based class for handling X.509 CRLs
*/
#include <xsec/utils/XSECSafeBuffer.hpp>
namespace xmltooling {
+ /**
+ * OpenSSL-based class for handling X.509 CRLs
+ */
class XMLTOOL_API OpenSSLCryptoX509CRL : public XSECCryptoX509CRL {
public:
OpenSSLCryptoX509CRL() : mp_X509CRL(NULL), m_DERX509CRL("") {}
return DSIGConstants::s_unicodeStrPROVOpenSSL;
}
virtual void loadX509CRLBase64Bin(const char* buf, unsigned int len);
-
virtual safeBuffer& getDEREncodingSB(void) {
return m_DERX509CRL;
}
+ /**
+ * Constructor
+ *
+ * @param x a native CRL object
+ */
OpenSSLCryptoX509CRL(X509_CRL* x);
- X509_CRL* getOpenSSLX509CRL(void) {
+
+ /**
+ * Returns native CRL object.
+ *
+ * @return native CRL object, or NULL
+ */
+ X509_CRL* getOpenSSLX509CRL() {
return mp_X509CRL;
}