org.apache.hadoop.crypto.key
Class KeyProvider.KeyVersion

java.lang.Object
  extended by 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
protected KeyProvider.KeyVersion(String name, String versionName, byte[] material)
           
 
Method Summary
 byte[] getMaterial()
           
 String getName()
           
 String getVersionName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyProvider.KeyVersion

protected KeyProvider.KeyVersion(String name,
                                 String versionName,
                                 byte[] material)
Method Detail

getName

public String getName()

getVersionName

public String getVersionName()

getMaterial

public byte[] getMaterial()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.