mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 22:30:27 +08:00
41 lines
872 B
PHP
41 lines
872 B
PHP
<?php
|
|
/**
|
|
* @link https://www.yiiframework.com/
|
|
* @copyright Copyright (c) 2008 Yii Software LLC
|
|
* @license https://www.yiiframework.com/license/
|
|
*/
|
|
|
|
namespace yiiunit\framework\base;
|
|
|
|
use yii\base\Security;
|
|
|
|
/**
|
|
* ExposedSecurity exposes protected methods for direct testing.
|
|
*/
|
|
class ExposedSecurity extends Security
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function hkdf($algo, $inputKey, $salt = null, $info = null, $length = 0)
|
|
{
|
|
return parent::hkdf($algo, $inputKey, $salt, $info, $length);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function pbkdf2($algo, $password, $salt, $iterations, $length = 0)
|
|
{
|
|
return parent::pbkdf2($algo, $password, $salt, $iterations, $length);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function shouldUseLibreSSL()
|
|
{
|
|
return parent::shouldUseLibreSSL();
|
|
}
|
|
}
|