Class Attribute_Provider

Description

The Attribute_Provider class which signs the attribute,value pair for a given openid.

Located in /contrib/signed_assertions/AP.php (line 22)


	
			
Method Summary
 Attribute_Provider Attribute_Provider (string $public_key_certificate, string $private_key, string $notBefore, string $notOnOrAfter, string $rsadsa, string $acsURI, string $assertionTemplate)
 void sign (string $openid, string $attribute, string $value)
Methods
Constructor Attribute_Provider (line 45)

Creates an Attribute_Provider object initialized with startup values.

Attribute_Provider Attribute_Provider (string $public_key_certificate, string $private_key, string $notBefore, string $notOnOrAfter, string $rsadsa, string $acsURI, string $assertionTemplate)
  • string $public_key_certificate: - The public key certificate
  • string $private_key: - The private key of the signer.
  • string $notBefore: - Certificate validity time
  • string $notOnOrAfter: - Certificate validity time
  • string $rsadsa: - Choice of the algorithm (RSA/DSA)
  • string $acsURI: - URI of the signer.
  • string $assertionTemplate: - SAML template used for assertion
sign (line 62)

Create the signed assertion.

void sign (string $openid, string $attribute, string $value)
  • string $openid: - Openid of the entity being asserted.
  • string $attribute: - The attribute name being asserted.
  • string $value: - The attribute value being asserted.

Documentation generated on Thu, 29 Jul 2010 13:58:18 -0700 by phpDocumentor 1.4.3