HadoopShims.KeyMetadata (ORC Shims 1.6.6 API)
Date: 2021-01-13

org.apache.orc.impl

## Class HadoopShims.KeyMetadata

- java.lang.Object
- - org.apache.orc.impl.HadoopShims.KeyMetadata

- Enclosing interface:
    HadoopShims

      public static class HadoopShims.KeyMetadata
      extends Object

  Information about a crypto key including the key name, version, and the algorithm.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyMetadata(String key, int version, EncryptionAlgorithm algorithm)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EncryptionAlgorithm` | `getAlgorithm()` Get the encryption algorithm for this key.
    `String` | `getKeyName()` Get the name of the key.
    `int` | `getVersion()` Get the version of this key.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### KeyMetadata

          public KeyMetadata(String key,
                             int version,
                             EncryptionAlgorithm algorithm)

  - ### Method Detail

    - #### getKeyName

          public String getKeyName()

      Get the name of the key.

    - #### getAlgorithm

          public EncryptionAlgorithm getAlgorithm()

      Get the encryption algorithm for this key.
      Returns:
        the algorithm

    - #### getVersion

          public int getVersion()

      Get the version of this key.
      Returns:
        the version

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.