java.lang.Object
org.apache.hadoop.security.token.delegation.DelegationKey
org.apache.hadoop.hdfs.security.token.block.BlockKey
All Implemented Interfaces:
org.apache.hadoop.io.Writable

@Private public class BlockKey extends org.apache.hadoop.security.token.delegation.DelegationKey
Key used for generating and verifying block tokens
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    BlockKey(int keyId, long expiryDate, byte[] encodedKey)
     
    BlockKey(int keyId, long expiryDate, SecretKey key)
     
  • Method Summary

    Methods inherited from class org.apache.hadoop.security.token.delegation.DelegationKey

    equals, getEncodedKey, getExpiryDate, getKey, getKeyId, hashCode, readFields, setExpiryDate, write

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BlockKey

      public BlockKey()
    • BlockKey

      public BlockKey(int keyId, long expiryDate, SecretKey key)
    • BlockKey

      public BlockKey(int keyId, long expiryDate, byte[] encodedKey)