API Documentation

InfoCard/Cipher.php

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_InfoCard
subpackage
Zend_InfoCard_Cipher
version
$Id: Cipher.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_InfoCard_Cipher

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_InfoCard_Cipher

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_InfoCard
subpackage
Zend_InfoCard_Cipher
Constants
ENC_AES256CBC
ENC_AES128CBC
ENC_RSA_OAEP_MGF1P
ENC_RSA
Methods
__construct
getInstanceByURI

Description

Provides an abstraction for encryption ciphers used in an Information Card implementation

Constants

ENC_AES256CBC

 ENC_AES256CBC = 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'

AES 256 Encryption with CBC

Details

value
http://www.w3.org/2001/04/xmlenc#aes256-cbc

ENC_AES128CBC

 ENC_AES128CBC = 'http://www.w3.org/2001/04/xmlenc#aes128-cbc'

AES 128 Encryption with CBC

Details

value
http://www.w3.org/2001/04/xmlenc#aes128-cbc

ENC_RSA_OAEP_MGF1P

 ENC_RSA_OAEP_MGF1P = 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'

RSA Public Key Encryption with OAEP Padding

Details

value
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p

ENC_RSA

 ENC_RSA = 'http://www.w3.org/2001/04/xmlenc#rsa-1_5'

RSA Public Key Encryption with no padding

Details

value
http://www.w3.org/2001/04/xmlenc#rsa-1_5

Methods

__construct

__construct( ) : void

Constructor (disabled)

Details
visibility
protected
final
false
static
false
codeCoverageIgnoreStart

getInstanceByURI

getInstanceByURI( string $uri ) : mixed

Returns an instance of a cipher object supported based on the URI provided

Arguments
$uri
string
The URI of the encryption method wantde
Output
mixed
an Instance of Zend_InfoCard_Cipher_Symmetric_Interface or Zend_InfoCard_Cipher_Pki_Interface depending on URI
Details
visibility
public
final
false
static
true
throws
Documentation was generated by DocBlox.