You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2006/05/28 13:49:50 UTC
svn commit: r409949 - in /xml/security/trunk/c/src/enc/OpenSSL:
OpenSSLCryptoBase64.hpp OpenSSLCryptoHash.hpp OpenSSLCryptoHashHMAC.hpp
OpenSSLCryptoKeyDSA.hpp OpenSSLCryptoKeyRSA.hpp OpenSSLCryptoSymmetricKey.hpp
Author: blautenb
Date: Sun May 28 04:49:50 2006
New Revision: 409949
URL: http://svn.apache.org/viewvc?rev=409949&view=rev
Log:
Methods to extract OpenSSL artifacts from wrapper classes
Modified:
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoBase64.hpp
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHash.hpp
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp
xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoBase64.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoBase64.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoBase64.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoBase64.hpp Sun May 28 04:49:50 2006
@@ -182,6 +182,18 @@
static BIGNUM * b642BN(char * b64in, unsigned int len);
+ /**
+ * \brief Get OpenSSL encode context structure
+ */
+
+ EVP_ENCODE_CTX * getOpenSSLEncodeEVP_ENCODE_CTX(void) {return &m_ectx;}
+
+ /**
+ * \brief Get OpenSSL encode context structure
+ */
+
+ EVP_ENCODE_CTX * getOpenSSLDecodeEVP_ENCODE_CTX(void) {return &m_dctx;}
+
//@}
private :
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHash.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHash.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHash.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHash.hpp Sun May 28 04:49:50 2006
@@ -131,6 +131,12 @@
virtual HashType getHashType(void);
+ /**
+ * \brief Get OpenSSL hash context structure
+ */
+
+ EVP_MD_CTX * getOpenSSLEVP_MD_CTX(void) {return &m_mdctx;}
+
//@}
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoHashHMAC.hpp Sun May 28 04:49:50 2006
@@ -155,6 +155,12 @@
virtual HashType getHashType(void);
+ /**
+ * \brief Get OpenSSL Hash Context
+ */
+
+ HMAC_CTX * getOpenSSLHMAC_CTX(void) {return &m_hctx;}
+
//@}
private:
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyDSA.hpp Sun May 28 04:49:50 2006
@@ -199,6 +199,13 @@
OpenSSLCryptoKeyDSA(EVP_PKEY *k);
+ /**
+ * \brief Get OpenSSL DSA structure
+ */
+
+ DSA * getOpenSSLDSA(void) {return mp_dsaKey;}
+
+ //@}
//@}
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoKeyRSA.hpp Sun May 28 04:49:50 2006
@@ -258,6 +258,12 @@
OpenSSLCryptoKeyRSA(EVP_PKEY *k);
+ /**
+ * \brief Get OpenSSL RSA Object
+ */
+
+ RSA * getOpenSSLRSA(void) {return mp_rsaKey;}
+
//@}
private:
Modified: xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp?rev=409949&r1=409948&r2=409949&view=diff
==============================================================================
--- xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp (original)
+++ xml/security/trunk/c/src/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp Sun May 28 04:49:50 2006
@@ -267,6 +267,17 @@
//@}
+ /** @name OpenSSL Library Specific functions */
+ //@{
+
+ /**
+ * \brief Get OpenSSL cipher context structure
+ */
+
+ EVP_CIPHER_CTX * getOpenSSLEVP_CIPHER_CTX(void) {return &m_ctx;}
+
+ //@}
+
private:
// Unimplemented constructors