InfoCard/Xml/EncryptedKey.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 [email protected] 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_Xml
- Version
- $Id: EncryptedKey.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_InfoCard_Xml_EncryptedKey
Package: Zend\InfoCard\Zend\InfoCard\XmlAn object representing an Xml EncryptedKEy block
- Implements
- \Zend_InfoCard_Xml_KeyInfo_Interface
- Parent(s)
-
\Zend_InfoCard_Xml_Element
<
\SimpleXMLElement
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
Methods



convertToObject(\DOMElement $e, string $classname) : \Zend_InfoCard_Xml_Element
Parameters
Name |
Type |
Description |
$e |
\DOMElement |
The DOMElement object to convert |
$classname |
string |
The name of the class to convert it to (must inhert from Zend_InfoCard_Xml_Element)
|
Returns
Throws



getCipherValue() : string
Return the encrypted value of the block in base64 format
Returns
Type |
Description |
string |
The Value of the CipherValue block in base64 format |
Throws



getDigestMethod() : string
Returns the Digest Method Algorithm URI used
Returns
Type |
Description |
string |
the Digest Method Algorithm URI |
Throws



getEncryptionMethod() : string
Returns the Encyption Method Algorithm URI of the block
Returns
Type |
Description |
string |
the Encryption method algorithm URI |
Throws



getInstance(string $xmlData) : \Zend_InfoCard_Xml_EncryptedKey
staticReturn an instance of the object based on input XML Data
Parameters
Name |
Type |
Description |
$xmlData |
string |
The EncryptedKey XML Block |
Returns
Throws