Multi-line svn commit, see body.
[shibboleth/cpp-xmltooling.git] / xmltooling / security / X509Credential.h
index 59dcd07..edd83f4 100644 (file)
@@ -67,6 +67,8 @@ namespace xmltooling {
         virtual const std::vector<XSECCryptoX509*>& getEntityCertificateChain() const=0;
 
         /**
+         * @deprecated
+         *
          * Gets a CRL associated with the credential.
          * 
          * @return CRL associated with the credential
@@ -74,6 +76,14 @@ namespace xmltooling {
         virtual XSECCryptoX509CRL* getCRL() const=0;
 
         /**
+         * Gets an immutable collection of all CRLs associated with the credential.
+         * 
+         * @return CRLs associated with the credential
+         */
+        virtual const std::vector<XSECCryptoX509CRL*>& getCRLs() const=0;
+
+
+        /**
          * Gets the subject name of the first certificate in the chain.
          *
          * @return the Subject DN