Previous Page
_exception()

Solar_Auth_Adapter_Typekey
_fetchKeyData()

Next Page
_gmp_bindec()

_fetchKeyData()

protected array _fetchKeyData ( )

Fetches the public key data from TypeKey.

Parameters

  • None.

Returns

  • (array) An array with keys 'p', 'q', 'g', and 'pub_key' as extracted from the fetched key string.

Description

Fetches the public key data from TypeKey.

If a cache object was injected at construction time, uses a cached version of the public key instead of hitting the TypeKey server.

The URI used is "http://www.typekey.com/extras/regkeys.txt".