KeyProvider.KeyVersion (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.crypto.key, class: KeyProvider, class: KeyVersion

Package org.apache.hadoop.crypto.key

# Class KeyProvider.KeyVersion

java.lang.Object
org.apache.hadoop.crypto.key.KeyProvider.KeyVersion

Direct Known Subclasses:
  `KMSClientProvider.KMSKeyVersion`

Enclosing class:
  KeyProvider

public static class KeyProvider.KeyVersion extends Object
The combination of both the key version name and the key material.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `KeyVersion(String name, String versionName, byte[] material)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object rhs)`
  `byte[]`
  `getMaterial()`
  `String`
  `getName()`
  `String`
  `getVersionName()`
  `int`
  `hashCode()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### KeyVersion

    protected KeyVersion(String name, String versionName, byte[] material)

- ## Method Details

  - ### getName

    public String getName()

  - ### getVersionName

    public String getVersionName()

  - ### getMaterial

    public byte[] getMaterial()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### equals

    public boolean equals(Object rhs)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`