Crypt/Rsa.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Crypt  
Subpackage
Rsa  
Version
$Id$  

\Zend_Crypt_Rsa

Package: Zend_Crypt
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  BINARY = 'binary'
>VConstant  BASE64 = 'base64'

Properties

>VPropertyprotected$_certificatePath
Details
Type
n/a
>VPropertyprotected$_certificateString
Details
Type
n/a
>VPropertyprotected$_hashAlgorithm
Details
Type
n/a
>VPropertyprotected$_passPhrase
Details
Type
n/a
>VPropertyprotected$_pemPath
Details
Type
n/a
>VPropertyprotectedstring $_pemString
Details
Type
string
>VPropertyprotected$_privateKey
Details
Type
n/a
>VPropertyprotected$_publicKey
Details
Type
n/a

Methods

methodpublic__construct(array $options = null) : void

Class constructor

Parameters
NameTypeDescription
$optionsarray
Throws
ExceptionDescription
\Zend_Crypt_Rsa_Exception
methodprotected_parseConfigArgs( $config = null) : void

Parameters
NameTypeDescription
$config
methodpublicdecrypt(string $data, \Zend_Crypt_Rsa_Key $key, string $format = null) : string

Parameters
NameTypeDescription
$datastring
$key\Zend_Crypt_Rsa_Key
$formatstring
Returns
TypeDescription
string
methodpublicencrypt(string $data, \Zend_Crypt_Rsa_Key $key, string $format = null) : string

Parameters
NameTypeDescription
$datastring
$key\Zend_Crypt_Rsa_Key
$formatstring
Returns
TypeDescription
string
methodpublicgenerateKeys(array $configargs = null) : \ArrayObject

Parameters
NameTypeDescription
$configargsarray
Returns
TypeDescription
\ArrayObject
Throws
ExceptionDescription
\Zend_Crypt_Rsa_Exception
methodpublicgetCertificatePath() : void

methodpublicgetCertificateString() : void

methodpublicgetHashAlgorithm() : void

methodpublicgetPemPath() : void

methodpublicgetPemString() : string

Returns
TypeDescription
string
methodpublicgetPrivateKey() : void

methodpublicgetPublicKey() : void

methodpublicsetCertificatePath( $value) : void

Parameters
NameTypeDescription
$value
methodpublicsetCertificateString( $value) : void

Parameters
NameTypeDescription
$value
methodpublicsetHashAlgorithm( $name) : void

Parameters
NameTypeDescription
$name
methodpublicsetOptions( $options) : void

Parameters
NameTypeDescription
$options
methodpublicsetPemPath( $value) : void

Parameters
NameTypeDescription
$value
methodpublicsetPemString(string $value) : void

Parameters
NameTypeDescription
$valuestring
methodpublicsign(string $data, \Zend_Crypt_Rsa_Key_Private $privateKey = null, string $format = null) : string

Parameters
NameTypeDescription
$datastring
$privateKey\Zend_Crypt_Rsa_Key_Private
$formatstring
Returns
TypeDescription
string
methodpublicverifySignature(string $data, string $signature, string $format = null) : string

Parameters
NameTypeDescription
$datastring
$signaturestring
$formatstring
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .