public static void Init()
        {
            GenericTestUtils.AssumeInNativeProfile();
            Configuration conf = new Configuration();

            codec = CryptoCodec.GetInstance(conf);
        }
        public static void Init()
        {
            Configuration conf = new Configuration();

            conf = new Configuration(false);
            conf.Set("fs.file.impl", typeof(LocalFileSystem).FullName);
            fileSys = FileSystem.GetLocal(conf);
            conf.Set(CommonConfigurationKeysPublic.HadoopSecurityCryptoCodecClassesKeyPrefix
                     + CipherSuite.AesCtrNopadding.GetConfigSuffix(), typeof(OpensslAesCtrCryptoCodec
                                                                             ).FullName + "," + typeof(JceAesCtrCryptoCodec).FullName);
            codec = CryptoCodec.GetInstance(conf);
        }
Example #3
0
        public static void Init()
        {
            Configuration conf = new Configuration();

            codec = CryptoCodec.GetInstance(conf);
        }