authentication mechanism
| Category | Zend |
| Package | Zend_Auth |
| Subpackage | Zend_Auth_Adapter |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |

class Zend_Auth_Adapter_InfoCard implements Zend_Auth_Adapter_Interface
| Category | Zend |
| Package | Zend_Auth |
| Subpackage | Zend_Auth_Adapter |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_infoCard | The instance of Zend_InfoCard |
| # $_xmlToken | The XML Token being authenticated |
| + __construct() | Constructor |
| + addCertificatePair() | Add a Certificate Pair to the list of certificates searched by the component |
| + authenticate() | Authenticates the XML token |
| + getAdapter() | Retrieves the InfoCard component adapter being used |
| + getCertificatePair() | Return a Certificate Pair from a key ID |
| + getPKCipherObject() | Retrieves the InfoCard public key cipher object being used |
| + getSymCipherObject() | Retrieves the Symmetric cipher object being used |
| + getXmlToken() | Get the XML Token being processed |
| + removeCertificatePair() | Remove a Certificate Pair by Key ID from the search list |
| + setAdapter() | Sets the InfoCard component Adapter to use |
| + setPKICipherObject() | Sets the InfoCard public key cipher object to use |
| + setSymCipherObject() | Sets the InfoCard symmetric cipher object to use |
| + setXmlToken() | Set the XML Token to be processed |
protected $_infoCardZend_InfoCardZend_InfoCardprotected $_xmlToken
public function __construct( |
$strXmlDocument)
|
string $strXmlDocument |
The XML Token provided by the client |
public function addCertificatePair( |
$private_key_file)
|
string $private_key_file |
The path to the private key file for the pair |
string $public_key_file |
The path to the certificate / public key for the pair |
string $type |
(optional) The URI for the type of key pair this is (default RSA with OAEP padding) |
string $password |
(optional) The password for the private key file if necessary |
Zend_InfoCard_Exception
public function authenticate( |
)
|
Zend_Auth_Result The result of the authentication
public function getAdapter( |
)
|
Zend_InfoCard_Adapter_Interface
public function getCertificatePair( |
$key_id)
|
string $key_id |
The Key ID of the certificate pair in the component |
Zend_InfoCard_Exception
public function getPKCipherObject( |
)
|
public function getSymCipherObject( |
)
|
public function getXmlToken( |
)
|
public function removeCertificatePair( |
$key_id)
|
string $key_id |
The Certificate Key ID returned from adding the certificate pair |
Zend_Auth_Adapter_InfoCard Provides a fluent interfaceZend_InfoCard_Exception
public function setAdapter( |
)
|
|
Zend_Auth_Adapter_InfoCard Provides a fluent interface
public function setPKICipherObject( |
Zend_InfoCard_Cipher_PKI_Interface $cipherObj)
|
Zend_InfoCard_Cipher_PKI_Interface $cipherObj |
Zend_Auth_Adapter_InfoCard Provides a fluent interface
public function setSymCipherObject( |
)
|
|
Zend_Auth_Adapter_InfoCard Provides a fluent interface
public function setXmlToken( |
$strXmlToken)
|
string $strXmlToken |
The XML token to process |
Zend_Auth_Adapter_InfoCard Provides a fluent interface