public class KeyServerKmip
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
KeyServerKmip.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
KeyServerKmip() |
KeyServerKmip(Optional<java.lang.Long> keyProviderID,
Optional<java.lang.Boolean> kmipAssignedProviderIsActive,
java.lang.String kmipCaCertificate,
java.lang.String kmipClientCertificate,
java.lang.String[] kmipKeyServerHostnames,
java.lang.Long keyServerID,
java.lang.String kmipKeyServerName,
java.lang.Long kmipKeyServerPort) |
Modifier and Type | Method and Description |
---|---|
KeyServerKmip.Builder |
asBuilder() |
static KeyServerKmip.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Long> |
getKeyProviderID()
If this KMIP Key Server is assigned to a provider, this field will contain the ID of the KMIP Key Provider it's assigned to.
|
java.lang.Long |
getKeyServerID()
The ID of the KMIP Key Server.
|
Optional<java.lang.Boolean> |
getKmipAssignedProviderIsActive()
If this KMIP Key Server is assigned to a provider (keyProviderID is not null), this field will indicate whether that provider is active (providing keys which are currently in use).
|
java.lang.String |
getKmipCaCertificate()
The public key certificate of the external key server's root CA.
|
java.lang.String |
getKmipClientCertificate()
A PEM format Base64 encoded PKCS#10 X.509 certificate used by the Solidfire KMIP client.
|
java.lang.String[] |
getKmipKeyServerHostnames()
The hostnames or IP addresses associated with this KMIP Key Server.
|
java.lang.String |
getKmipKeyServerName()
The name of the KMIP Key Server.
|
java.lang.Long |
getKmipKeyServerPort()
The port number associated with this KMIP Key Server (typically 5696).
|
int |
hashCode() |
void |
setKeyProviderID(Optional<java.lang.Long> keyProviderID) |
void |
setKeyServerID(java.lang.Long keyServerID) |
void |
setKmipAssignedProviderIsActive(Optional<java.lang.Boolean> kmipAssignedProviderIsActive) |
void |
setKmipCaCertificate(java.lang.String kmipCaCertificate) |
void |
setKmipClientCertificate(java.lang.String kmipClientCertificate) |
void |
setKmipKeyServerHostnames(java.lang.String[] kmipKeyServerHostnames) |
void |
setKmipKeyServerName(java.lang.String kmipKeyServerName) |
void |
setKmipKeyServerPort(java.lang.Long kmipKeyServerPort) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public KeyServerKmip(Optional<java.lang.Long> keyProviderID, Optional<java.lang.Boolean> kmipAssignedProviderIsActive, java.lang.String kmipCaCertificate, java.lang.String kmipClientCertificate, java.lang.String[] kmipKeyServerHostnames, java.lang.Long keyServerID, java.lang.String kmipKeyServerName, java.lang.Long kmipKeyServerPort)
public Optional<java.lang.Long> getKeyProviderID()
public void setKeyProviderID(Optional<java.lang.Long> keyProviderID)
public Optional<java.lang.Boolean> getKmipAssignedProviderIsActive()
public void setKmipAssignedProviderIsActive(Optional<java.lang.Boolean> kmipAssignedProviderIsActive)
public java.lang.String getKmipCaCertificate()
public void setKmipCaCertificate(java.lang.String kmipCaCertificate)
public java.lang.String getKmipClientCertificate()
public void setKmipClientCertificate(java.lang.String kmipClientCertificate)
public java.lang.String[] getKmipKeyServerHostnames()
public void setKmipKeyServerHostnames(java.lang.String[] kmipKeyServerHostnames)
public java.lang.Long getKeyServerID()
public void setKeyServerID(java.lang.Long keyServerID)
public java.lang.String getKmipKeyServerName()
public void setKmipKeyServerName(java.lang.String kmipKeyServerName)
public java.lang.Long getKmipKeyServerPort()
public void setKmipKeyServerPort(java.lang.Long kmipKeyServerPort)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static KeyServerKmip.Builder builder()
public final KeyServerKmip.Builder asBuilder()