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.
DIGEST_SHA1 = 'http://www.w3.org/2000/09/xmldsig#sha1'
URI for XML Digital Signature SHA1 Digests
DetailsZend_InfoCard_Adapter_Interface $_adapter = ''The InfoCard Adapter to use for callbacks into the application using the component such as when storing assertions, etc.
DetailsArray $_keyPairs = ''An array of certificate pair files and optional passwords for them to search when trying to determine which certificate was used to encrypt the transient key
DetailsZend_InfoCard_Cipher_Pki_Interface $_pkiCipherObj = ''The instance to use to decrypt public-key encrypted data
DetailsZend_InfoCard_Cipher_Symmetric_Interface $_symCipherObj = ''The instance to use to decrypt symmetric encrypted data
Details__construct(
)
:
InfoCard Constructor
Details_extractSignedToken(
string $strXmlToken
)
:
stringExtracts the Signed Token from an EncryptedData block
Details_findCertifiatePairByDigest(
string $digest, string $digestMethod
=
self
)
:
mixedFind a certificate pair based on a digest of its public key / certificate file
Details_getPublicKeyDigest(
string $key_id, string $digestMethod
=
self
)
:
stringRetrieve the digest of a given public key / certificate using the provided digest method
DetailsaddCertificatePair(
string $private_key_file, string $public_key_file, string $type
=
Zend_InfoCard_Cipher, string $password
=
null
)
:
stringAdd a Certificate Pair to the list of certificates searched by the component
DetailsgetAdapter(
)
:
Zend_InfoCard_Adapter_InterfaceRetrieves the adapter used for callbacks into the application using the component.
If no adapter was set then an instance of Zend_InfoCard_Adapter_Default is used
DetailsgetCertificatePair(
string $key_id
)
:
arrayReturn a Certificate Pair from a key ID
DetailsgetPkiCipherObject(
)
:
Zend_InfoCard_Cipher_Pki_InterfaceGets the Public Key Cipher object used in this instance
DetailsgetSymCipherObject(
)
:
Zend_InfoCard_Cipher_Symmetric_InterfaceGet the Symmetric Cipher Object used in this instance
Detailsprocess(
string $strXmlToken
)
:
Zend_Infocard_ClaimsProcess an input Infomation Card EncryptedData block sent from the client, validate it, and return the claims contained within it on success or an error message on error
DetailsremoveCertificatePair(
string $key_id
)
:
Zend_InfoCardRemove a Certificate Pair by Key ID from the search list
DetailssetAdapter(
Zend_InfoCard_Adapter_Interface $a
)
:
Zend_InfoCardSets the adapter uesd for callbacks into the application using the component, used when doing things such as storing / retrieving assertions, etc.
DetailssetPkiCipherObject(
Zend_InfoCard_Cipher_Pki_Interface $cipherObj
)
:
Zend_InfoCardSets the Public Key Cipher Object used in this instance
DetailssetSymCipherObject(
Zend_InfoCard_Cipher_Symmetric_Interface $cipherObj
)
:
Zend_InfoCardSets the Symmetric Cipher Object used in this instance
Details