Library: Crypto
Package: RSA
Header: Poco/Crypto/RSACipherImpl.h
An implementation of the Cipher class for assymetric (public-private key) encryption based on the the RSA algorithm in OpenSSL's crypto library.
Encryption is using the public key, decryption requires the private key.
Direct Base Classes: Cipher
All Base Classes: Cipher, Poco::RefCountedObject
Member Functions: createDecryptor, createEncryptor, name
Inherited Functions: createDecryptor, createEncryptor, decrypt, decryptString, duplicate, encrypt, encryptString, name, referenceCount, release
RSACipherImpl(
const RSAKey & key,
RSAPaddingMode paddingMode
);
Creates a new RSACipherImpl object for the given RSAKey and using the given padding mode.
virtual ~RSACipherImpl();
Destroys the RSACipherImpl.
CryptoTransform * createDecryptor();
Creates a decrytor object.
See also: Poco::Crypto::Cipher::createDecryptor()
CryptoTransform * createEncryptor();
Creates an encrytor object.
See also: Poco::Crypto::Cipher::createEncryptor()
const std::string & name() const;
Returns the name of the Cipher.
See also: Poco::Crypto::Cipher::name()