org.apache.hadoop.crypto.key
Class JavaKeyStoreProvider.KeyMetadata

java.lang.Object
  extended by org.apache.hadoop.crypto.key.JavaKeyStoreProvider.KeyMetadata
All Implemented Interfaces:
Serializable, Key
Enclosing class:
org.apache.hadoop.crypto.key.JavaKeyStoreProvider

public static class JavaKeyStoreProvider.KeyMetadata
extends Object
implements Key, Serializable

An adapter between a KeyStore Key and our Metadata. This is used to store the metadata in a KeyStore even though isn't really a key.

See Also:
Serialized Form

Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAlgorithm

public String getAlgorithm()
Specified by:
getAlgorithm in interface Key

getFormat

public String getFormat()
Specified by:
getFormat in interface Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface Key


Copyright © 2014 Apache Software Foundation. All Rights Reserved.