Initializes an instance of KeyOrPassword from a key.
public static createFromKey ( Defuse\Crypto\Key $key ) : |
||
$key | Defuse\Crypto\Key | |
return |
public static createFromKey ( Defuse\Crypto\Key $key ) : |
||
$key | Defuse\Crypto\Key | |
return |