phpseclib\Crypt\Common\PKCS8::setEncryptionScheme PHP Method

setEncryptionScheme() static public method

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