<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Class Poco::Crypto::RSACipherImpl</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.Crypto.html" class="namespace">Poco::Crypto</a></h1> <h1 class="symbol">class RSACipherImpl</h1> </div> <div class="body"> <p> <b>Library:</b> Crypto<br /> <b>Package:</b> RSA<br /> <b>Header:</b> Poco/Crypto/RSACipherImpl.h</p> <h2>Description</h2> <div class="description"> <p>An implementation of the <a href="Poco.Crypto.Cipher.html" title="class Poco::Crypto::Cipher">Cipher</a> class for assymetric (public-private key) encryption based on the the <a href="#303" title="RSA">RSA</a> algorithm in OpenSSL's crypto library. </p> <p>Encryption is using the public key, decryption requires the private key. </p> </div> <h2>Inheritance</h2> <p><b>Direct Base Classes: </b><a href="Poco.Crypto.Cipher.html" title="class Poco::Crypto::Cipher">Cipher</a></p> <p><b>All Base Classes: </b><a href="Poco.Crypto.Cipher.html" title="class Poco::Crypto::Cipher">Cipher</a>, <a href="Poco.RefCountedObject.html" title="class Poco::RefCountedObject">Poco::RefCountedObject</a></p> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.Crypto.RSACipherImpl.html#241" title="Poco::Crypto::RSACipherImpl::createDecryptor()">createDecryptor</a>, <a href="Poco.Crypto.RSACipherImpl.html#240" title="Poco::Crypto::RSACipherImpl::createEncryptor()">createEncryptor</a>, <a href="Poco.Crypto.RSACipherImpl.html#239" title="Poco::Crypto::RSACipherImpl::name()">name</a></p> <p><b>Inherited Functions: </b><a href="Poco.Crypto.Cipher.html#13" title="Poco::Crypto::Cipher::createDecryptor()">createDecryptor</a>, <a href="Poco.Crypto.Cipher.html#12" title="Poco::Crypto::Cipher::createEncryptor()">createEncryptor</a>, <a href="Poco.Crypto.Cipher.html#24" title="Poco::Crypto::Cipher::decrypt()">decrypt</a>, <a href="Poco.Crypto.Cipher.html#17" title="Poco::Crypto::Cipher::decryptString()">decryptString</a>, <a href="Poco.RefCountedObject.html#9659" title="Poco::RefCountedObject::duplicate()">duplicate</a>, <a href="Poco.Crypto.Cipher.html#20" title="Poco::Crypto::Cipher::encrypt()">encrypt</a>, <a href="Poco.Crypto.Cipher.html#14" title="Poco::Crypto::Cipher::encryptString()">encryptString</a>, <a href="Poco.Crypto.Cipher.html#11" title="Poco::Crypto::Cipher::name()">name</a>, <a href="Poco.RefCountedObject.html#9661" title="Poco::RefCountedObject::referenceCount()">referenceCount</a>, <a href="Poco.RefCountedObject.html#9660" title="Poco::RefCountedObject::release()">release</a></p> <h2>Constructors</h2> <h3><a name="235">RSACipherImpl</a></h3> <p class="decl"><a href="Poco.Crypto.RSACipherImpl.html" title="class Poco::Crypto::RSACipherImpl">RSACipherImpl</a>(<br /> const <a href="Poco.Crypto.RSAKey.html" title="class Poco::Crypto::RSAKey">RSAKey</a> & key,<br /> <a href="#131" title="enum RSAPaddingMode">RSAPaddingMode</a> paddingMode<br />);</p> <div class="description"> <p>Creates a new <a href="Poco.Crypto.RSACipherImpl.html" title="class Poco::Crypto::RSACipherImpl">RSACipherImpl</a> object for the given <a href="Poco.Crypto.RSAKey.html" title="class Poco::Crypto::RSAKey">RSAKey</a> and using the given padding mode. </p> </div> <h2>Destructor</h2> <h3><a name="238">~RSACipherImpl</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">virtual ~<a href="Poco.Crypto.RSACipherImpl.html" title="class Poco::Crypto::RSACipherImpl">RSACipherImpl</a>();</p> <div class="description"> <p>Destroys the <a href="Poco.Crypto.RSACipherImpl.html" title="class Poco::Crypto::RSACipherImpl">RSACipherImpl</a>. </p> </div> <h2>Member Functions</h2> <h3><a name="241">createDecryptor</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl"><a href="Poco.Crypto.CryptoTransform.html" title="class Poco::Crypto::CryptoTransform">CryptoTransform</a> * createDecryptor();</p> <div class="description"> <p>Creates a decrytor object. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Crypto.Cipher.html#13" title="Poco::Crypto::Cipher::createDecryptor()">Poco::Crypto::Cipher::createDecryptor()</a></p></div> <h3><a name="240">createEncryptor</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl"><a href="Poco.Crypto.CryptoTransform.html" title="class Poco::Crypto::CryptoTransform">CryptoTransform</a> * createEncryptor();</p> <div class="description"> <p>Creates an encrytor object. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Crypto.Cipher.html#12" title="Poco::Crypto::Cipher::createEncryptor()">Poco::Crypto::Cipher::createEncryptor()</a></p></div> <h3><a name="239">name</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">const std::string & name() const;</p> <div class="description"> <p>Returns the name of the <a href="Poco.Crypto.Cipher.html" title="class Poco::Crypto::Cipher">Cipher</a>. </p> </div> <div class="description"><p><b>See also:</b> <a href="Poco.Crypto.Cipher.html#11" title="Poco::Crypto::Cipher::name()">Poco::Crypto::Cipher::name()</a></p></div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>