InfoCard/Cipher.php

Show: PublicProtectedPrivateinherited
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 24593 2012-01-05 20:35:02Z 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

>VConstant  ENC_AES256CBC = 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'
AES 256 Encryption with CBC
>VConstant  ENC_AES128CBC = 'http://www.w3.org/2001/04/xmlenc#aes128-cbc'
AES 128 Encryption with CBC
>VConstant  ENC_RSA_OAEP_MGF1P = 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'
RSA Public Key Encryption with OAEP Padding
>VConstant  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
NameTypeDescription
$uristring

The URI of the encryption method wantde

Returns
TypeDescription
mixedan Instance of Zend_InfoCard_Cipher_Symmetric_Interface or Zend_InfoCard_Cipher_Pki_Interface depending on URI
Throws
ExceptionDescription
\Zend_InfoCard_Cipher_Exception
Documentation was generated by phpDocumentor 2.0.0a12.