public class AuthenticationKey extends Object implements org.apache.hadoop.io.Writable
AuthenticationTokenSecretManager
.Constructor and Description |
---|
AuthenticationKey() |
AuthenticationKey(int keyId,
long creationDate,
long expirationDate,
SecretKey key) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getCreationDate() |
long |
getExpirationDate() |
int |
getKeyId() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public AuthenticationKey()
public AuthenticationKey(int keyId, long creationDate, long expirationDate, SecretKey key)
public int getKeyId()
public long getCreationDate()
public long getExpirationDate()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.