API Documentation

Zend/InfoCard/Cipher.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_InfoCard  
Subpackage
Zend_InfoCard_Cipher  
Version
$Id: Cipher.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_InfoCard_Cipher

Package: Zend\InfoCard\Zend\InfoCard\Cipher

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

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

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.15.1.