API Documentation

Crypt/Rsa.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Crypt
subpackage
Rsa
version
$Id: Rsa.php 22042 2010-04-28 19:33:31Z padraic $
Classes
Zend_Crypt_Rsa

Description

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.

Zend_Crypt_Rsa

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Crypt
Constants
BINARY
BASE64
Properties
$_privateKey
$_publicKey
$_pemString
$_pemPath
$_certificateString
$_certificatePath
$_hashAlgorithm
$_passPhrase
Methods
__construct
setOptions
getPrivateKey
getPublicKey
sign
verifySignature
encrypt
decrypt
generateKeys
setPemString
setPemPath
setCertificateString
setCertificatePath
setHashAlgorithm
getPemString
getPemPath
getCertificateString
getCertificatePath
getHashAlgorithm
_parseConfigArgs

Description

Constants

BINARY

 BINARY = 'binary'

Details

value
binary

BASE64

 BASE64 = 'base64'

Details

value
base64

Properties

$_certificatePath

 $_certificatePath = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_certificateString

 $_certificateString = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_hashAlgorithm

 $_hashAlgorithm = 'OPENSSL_ALGO_SHA1'

Details

visibility
protected
default
OPENSSL_ALGO_SHA1
final
false
static
false

$_passPhrase

 $_passPhrase = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_pemPath

 $_pemPath = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_pemString

string $_pemString = 'null'

Details

$_pemString
string
visibility
protected
default
null
final
false
static
false

$_privateKey

 $_privateKey = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_publicKey

 $_publicKey = 'null'

Details

visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct(  $options = null ) :
Arguments
$options
Details
visibility
public
final
false
static
false

_parseConfigArgs

_parseConfigArgs(  $config = null ) :
Arguments
$config
Details
visibility
protected
final
false
static
false

decrypt

decrypt( string $data, Zend_Crypt_Rsa_Key $key, string $format = null ) : string

Arguments
$data
string
$key
Zend_Crypt_Rsa_Key
$format
string
Output
string
Details
visibility
public
final
false
static
false

encrypt

encrypt( string $data, Zend_Crypt_Rsa_Key $key, string $format = null ) : string

Arguments
$data
string
$key
Zend_Crypt_Rsa_Key
$format
string
Output
string
Details
visibility
public
final
false
static
false

generateKeys

generateKeys(  $configargs = null ) :
Arguments
$configargs
Details
visibility
public
final
false
static
false

getCertificatePath

getCertificatePath( ) :
Details
visibility
public
final
false
static
false

getCertificateString

getCertificateString( ) :
Details
visibility
public
final
false
static
false

getHashAlgorithm

getHashAlgorithm( ) :
Details
visibility
public
final
false
static
false

getPemPath

getPemPath( ) :
Details
visibility
public
final
false
static
false

getPemString

getPemString( ) : string

Output
string
Details
visibility
public
final
false
static
false

getPrivateKey

getPrivateKey( ) :
Details
visibility
public
final
false
static
false

getPublicKey

getPublicKey( ) :
Details
visibility
public
final
false
static
false

setCertificatePath

setCertificatePath(  $value ) :
Arguments
$value
Details
visibility
public
final
false
static
false

setCertificateString

setCertificateString(  $value ) :
Arguments
$value
Details
visibility
public
final
false
static
false

setHashAlgorithm

setHashAlgorithm(  $name ) :
Arguments
$name
Details
visibility
public
final
false
static
false

setOptions

setOptions(  $options ) :
Arguments
$options
Details
visibility
public
final
false
static
false

setPemPath

setPemPath(  $value ) :
Arguments
$value
Details
visibility
public
final
false
static
false

setPemString

setPemString( string $value ) :

Arguments
$value
string
Details
visibility
public
final
false
static
false

sign

sign( string $data, Zend_Crypt_Rsa_Key_Private $privateKey = null, string $format = null ) : string

Arguments
$data
string
$privateKey
Zend_Crypt_Rsa_Key_Private
$format
string
Output
string
Details
visibility
public
final
false
static
false

verifySignature

verifySignature( string $data, string $signature, string $format = null ) : string

Arguments
$data
string
$signature
string
$format
string
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.