Uses of Class org.apache.hadoop.crypto.CryptoCodec (Apache Hadoop Common 3.5.0 API)
Description: use: package: org.apache.hadoop.crypto, class: CryptoCodec

# Uses of Class
org.apache.hadoop.crypto.CryptoCodec

Packages that use CryptoCodec
Package
Description
org.apache.hadoop.crypto
Crypto related classes.
org.apache.hadoop.fs.crypto

- ## Uses of CryptoCodec in org.apache.hadoop.crypto

  Subclasses of CryptoCodec in org.apache.hadoop.crypto
  Modifier and Type
  Class
  Description
  `class`
  `JceAesCtrCryptoCodec`
  Implement the AES-CTR crypto codec using JCE provider.
  `class`
  `JceCtrCryptoCodec`
  `class`
  `JceSm4CtrCryptoCodec`
  Implement the SM4-CTR crypto codec using JCE provider.
  `class`
  `OpensslAesCtrCryptoCodec`
  Implement the AES-CTR crypto codec using JNI into OpenSSL.
  `class`
  `OpensslCtrCryptoCodec`
  `class`
  `OpensslSm4CtrCryptoCodec`
  Implement the SM4-CTR crypto codec using JNI into OpenSSL.
  Methods in org.apache.hadoop.crypto that return CryptoCodec
  Modifier and Type
  Method
  Description
  `static CryptoCodec`
  CryptoCodec.`getInstance(Configuration conf)`
  Get crypto codec for algorithm/mode/padding in config value hadoop.security.crypto.cipher.suite
  `static CryptoCodec`
  CryptoCodec.`getInstance(Configuration conf, CipherSuite cipherSuite)`
  Get crypto codec for specified algorithm/mode/padding.
  Methods in org.apache.hadoop.crypto with parameters of type CryptoCodec
  Modifier and Type
  Method
  Description
  `static int`
  CryptoStreamUtils.`checkBufferSize(CryptoCodec codec, int bufferSize)`
  Check and floor buffer size.
  `static void`
  CryptoStreamUtils.`checkCodec(CryptoCodec codec)`
  AES/CTR/NoPadding or SM4/CTR/NoPadding is required.
  Constructors in org.apache.hadoop.crypto with parameters of type CryptoCodec
  Modifier
  Constructor
  Description
  ``
  `CryptoInputStream(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 CryptoCodec
  Modifier
  Constructor
  Description
  ``
  `CryptoFSDataInputStream(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)`