API Documentation

InfoCard/Cipher.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_InfoCard  
subpackage
Zend_InfoCard_Cipher  
version
$Id: Cipher.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_InfoCard_Cipher

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

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_InfoCard  
subpackage
Zend_InfoCard_Cipher  

Constants

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

AES 256 Encryption with CBC

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

AES 128 Encryption with CBC

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

RSA Public Key Encryption with OAEP Padding

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

RSA Public Key Encryption with no padding

Methods

methodprotected__construct( ) : void

Constructor (disabled)

Details
codeCoverageIgnoreStart
 
methodpublicgetInstanceByURI( string $uri ) : mixed
static

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

Parameters
Name Type Description
$uri string The URI of the encryption method wantde
Returns
Type Description
mixed an Instance of Zend_InfoCard_Cipher_Symmetric_Interface or Zend_InfoCard_Cipher_Pki_Interface depending on URI
Throws
Exception Description
\Zend_InfoCard_Cipher_Exception
Documentation was generated by DocBlox 0.13.3.