Package fixes.
[shibboleth/xmltooling.git] / xmltooling / security / OpenSSLCryptoX509CRL.h
index ac3c090..55b40a6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -15,7 +15,7 @@
  */
 
 /**
- * OpenSSLCryptoX509CRL.h
+ * @file xmltooling/security/OpenSSLCryptoX509CRL.h
  * 
  * OpenSSL-based class for handling X.509 CRLs
  */
@@ -30,6 +30,9 @@
 #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("") {}
@@ -39,13 +42,23 @@ namespace xmltooling {
             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;
         }