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 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