API Documentation

Zend/Crypt/Rsa.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Crypt  
Subpackage
Rsa  
Version
$Id: Rsa.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Crypt_Rsa

Package: Zend\Crypt

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

Constants

Constant  BINARY = 'binary'
Constant  BASE64 = 'base64'

Properties

Propertyprotected  $_certificatePath= ''
Details
Type
Propertyprotected  $_certificateString= ''
Details
Type
Propertyprotected  $_hashAlgorithm= ''
Details
Type
Propertyprotected  $_passPhrase= ''
Details
Type
Propertyprotected  $_pemPath= ''
Details
Type
Propertyprotectedstring  $_pemString= ''

Details
Type
string
Propertyprotected  $_privateKey= ''
Details
Type
Propertyprotected  $_publicKey= ''
Details
Type

Methods

methodpublic__construct( array $options = null ) : void

Class constructor

Parameters
Name Type Description
$options array
Throws
Exception Description
\Zend_Crypt_Rsa_Exception
methodprotected_parseConfigArgs(  $config = null ) : void

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

Parameters
Name Type Description
$data string
$key \Zend_Crypt_Rsa_Key
$format string
Returns
Type Description
string
methodpublicencrypt( string $data, \Zend_Crypt_Rsa_Key $key, string $format = null ) : string

Parameters
Name Type Description
$data string
$key \Zend_Crypt_Rsa_Key
$format string
Returns
Type Description
string
methodpublicgenerateKeys(  $configargs = null ) : void

Parameters
Name Type Description
$configargs
methodpublicgetCertificatePath( ) : void

methodpublicgetCertificateString( ) : void

methodpublicgetHashAlgorithm( ) : void

methodpublicgetPemPath( ) : void

methodpublicgetPemString( ) : string

Returns
Type Description
string
methodpublicgetPrivateKey( ) : void

methodpublicgetPublicKey( ) : void

methodpublicsetCertificatePath(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetCertificateString(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetHashAlgorithm(  $name ) : void

Parameters
Name Type Description
$name
methodpublicsetOptions(  $options ) : void

Parameters
Name Type Description
$options
methodpublicsetPemPath(  $value ) : void

Parameters
Name Type Description
$value
methodpublicsetPemString( string $value ) : void

Parameters
Name Type Description
$value string
methodpublicsign( string $data, \Zend_Crypt_Rsa_Key_Private $privateKey = null, string $format = null ) : string

Parameters
Name Type Description
$data string
$privateKey \Zend_Crypt_Rsa_Key_Private
$format string
Returns
Type Description
string
methodpublicverifySignature( string $data, string $signature, string $format = null ) : string

Parameters
Name Type Description
$data string
$signature string
$format string
Returns
Type Description
string
Documentation was generated by DocBlox 0.15.1.