@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class RouterMasterKey extends Object
Constructor and Description |
---|
RouterMasterKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract Long |
getExpiryDate()
Get the ExpiryDate of the DelegationKey.
|
abstract ByteBuffer |
getKeyBytes()
Get the keyBytes of the DelegationKey.
|
abstract Integer |
getKeyId()
Get the keyId of the MasterKey.
|
int |
hashCode() |
static RouterMasterKey |
newInstance(Integer keyId,
ByteBuffer keyBytes,
Long expiryDate) |
static RouterMasterKey |
newInstance(RouterMasterKey masterKey) |
abstract void |
setExpiryDate(Long expiryDate)
Set the expiryDate of the DelegationKey.
|
abstract void |
setKeyBytes(ByteBuffer keyBytes)
Set the keyBytes of the DelegationKey.
|
abstract void |
setKeyId(Integer keyId)
Set the keyId of the MasterKey.
|
String |
toString() |
@InterfaceAudience.Private @InterfaceStability.Unstable public static RouterMasterKey newInstance(Integer keyId, ByteBuffer keyBytes, Long expiryDate)
@InterfaceAudience.Private @InterfaceStability.Unstable public static RouterMasterKey newInstance(RouterMasterKey masterKey)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Integer getKeyId()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setKeyId(Integer keyId)
keyId
- MasterKeyId.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ByteBuffer getKeyBytes()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setKeyBytes(ByteBuffer keyBytes)
keyBytes
- KeyBytes of the DelegationKey.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract Long getExpiryDate()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setExpiryDate(Long expiryDate)
expiryDate
- expiryDate of the DelegationKey.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.