Uses of Class
org.apache.hadoop.crypto.CryptoCodec
Packages that use CryptoCodec
-
Uses of CryptoCodec in org.apache.hadoop.crypto
Subclasses of CryptoCodec in org.apache.hadoop.cryptoModifier and TypeClassDescriptionclassImplement the AES-CTR crypto codec using JCE provider.classclassImplement the SM4-CTR crypto codec using JCE provider.classImplement the AES-CTR crypto codec using JNI into OpenSSL.classclassImplement the SM4-CTR crypto codec using JNI into OpenSSL.Methods in org.apache.hadoop.crypto that return CryptoCodecModifier and TypeMethodDescriptionstatic CryptoCodecCryptoCodec.getInstance(Configuration conf) Get crypto codec for algorithm/mode/padding in config value hadoop.security.crypto.cipher.suitestatic CryptoCodecCryptoCodec.getInstance(Configuration conf, CipherSuite cipherSuite) Get crypto codec for specified algorithm/mode/padding.Methods in org.apache.hadoop.crypto with parameters of type CryptoCodecModifier and TypeMethodDescriptionstatic intCryptoStreamUtils.checkBufferSize(CryptoCodec codec, int bufferSize) Check and floor buffer size.static voidCryptoStreamUtils.checkCodec(CryptoCodec codec) AES/CTR/NoPadding or SM4/CTR/NoPadding is required.Constructors in org.apache.hadoop.crypto with parameters of type CryptoCodecModifierConstructorDescriptionCryptoInputStream(InputStream in, CryptoCodec codec, byte[] key, byte[] iv) CryptoInputStream(InputStream in, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) CryptoInputStream(InputStream in, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, long streamOffset) CryptoOutputStream(OutputStream out, CryptoCodec codec, byte[] key, byte[] iv) CryptoOutputStream(OutputStream out, CryptoCodec codec, byte[] key, byte[] iv, long streamOffset) CryptoOutputStream(OutputStream out, CryptoCodec codec, byte[] key, byte[] iv, long streamOffset, boolean closeOutputStream) CryptoOutputStream(OutputStream out, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) CryptoOutputStream(OutputStream out, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, long streamOffset) CryptoOutputStream(OutputStream out, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, long streamOffset, boolean closeOutputStream) -
Uses of CryptoCodec in org.apache.hadoop.fs.crypto
Constructors in org.apache.hadoop.fs.crypto with parameters of type CryptoCodecModifierConstructorDescriptionCryptoFSDataInputStream(FSDataInputStream in, CryptoCodec codec, byte[] key, byte[] iv) CryptoFSDataInputStream(FSDataInputStream in, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) CryptoFSDataOutputStream(FSDataOutputStream out, CryptoCodec codec, byte[] key, byte[] iv) CryptoFSDataOutputStream(FSDataOutputStream out, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) CryptoFSDataOutputStream(FSDataOutputStream out, CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, boolean closeOutputStream)