phpseclib\Crypt\Common\PKCS8::setEncryptionScheme PHP Метод

setEncryptionScheme() статический публичный Метод

Sets the default encryption algorithm for PBES2
static public setEncryptionScheme ( string $algo )
$algo string
    static function setEncryptionScheme($algo)
    {
        self::$defaultEncryptionScheme = $algo;
    }