createContext()
private static method
See section 4.2 of
{@link https://tools.ietf.org/html/draft-ietf-httpbis-encryption-encoding-00}
From {@link https://github.com/GoogleChrome/push-encryption-node/blob/master/src/encrypt.js}.
private static createContext ( $clientPublicKey, $serverPublicKey ) : string |
$clientPublicKey |
|
string The client's public key |
$serverPublicKey |
|
string Our public key |
return |
string |
|