
Public Member Functions | |
| __construct (DiffieHellmanParameters $parameters) | |
| setPrivate (BigInteger $private) | |
| |
| getPrivate () | |
| |
| setPublic (BigInteger $public) | |
| |
| getPublic () | |
| |
| makeSharedKey (BigInteger $otherSitePublic) | |
| |
Static Public Member Functions | |
| static | create (DiffieHellmanParameters $parameters) |
| |
| static | generate (DiffieHellmanParameters $parameters, RandomSource $randomSource) |
| |
Private Attributes | |
| $private = null | |
| $public = null | |
| $parameters = null | |
Definition at line 18 of file DiffieHellmanKeyPair.class.php.
| DiffieHellmanKeyPair::__construct | ( | DiffieHellmanParameters $ | parameters | ) |
Definition at line 24 of file DiffieHellmanKeyPair.class.php.
| static DiffieHellmanKeyPair::create | ( | DiffieHellmanParameters $ | parameters | ) | [static] |
| static DiffieHellmanKeyPair::generate | ( | DiffieHellmanParameters $ | parameters, | |
| RandomSource $ | randomSource | |||
| ) | [static] |
Definition at line 40 of file DiffieHellmanKeyPair.class.php.
References DiffieHellmanParameters::getGen(), and DiffieHellmanParameters::getModulus().
Referenced by OpenIdConsumer::associate().

| DiffieHellmanKeyPair::setPrivate | ( | BigInteger $ | private | ) |
| DiffieHellmanKeyPair::getPrivate | ( | ) |
Implements KeyPair.
Definition at line 74 of file DiffieHellmanKeyPair.class.php.
| DiffieHellmanKeyPair::setPublic | ( | BigInteger $ | public | ) |
| DiffieHellmanKeyPair::getPublic | ( | ) |
Implements KeyPair.
Definition at line 91 of file DiffieHellmanKeyPair.class.php.
| DiffieHellmanKeyPair::makeSharedKey | ( | BigInteger $ | otherSitePublic | ) |
Definition at line 99 of file DiffieHellmanKeyPair.class.php.
References BigInteger::modPow().

DiffieHellmanKeyPair::$private = null [private] |
Definition at line 20 of file DiffieHellmanKeyPair.class.php.
DiffieHellmanKeyPair::$public = null [private] |
Definition at line 21 of file DiffieHellmanKeyPair.class.php.
DiffieHellmanKeyPair::$parameters = null [private] |
Definition at line 22 of file DiffieHellmanKeyPair.class.php.
1.5.4