Class ZoneInfo.KeySpec (2.14.0)

public static class ZoneInfo.KeySpec

This class represents the DNS key spec.

Inheritance

Object > ZoneInfo.KeySpec

Static Methods

newBuilder()

public static ZoneInfo.KeySpec.Builder newBuilder()

Returns a builder for KeySpec objects.

Returns
TypeDescription
ZoneInfo.KeySpec.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getAlgorithm()

public String getAlgorithm()

Returns the DNSSEC algorithm of this key.

Returns
TypeDescription
String

getKeyLength()

public Long getKeyLength()

Returns the key length.

Returns
TypeDescription
Long

getKeyType()

public String getKeyType()

Returns the key type.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides