Class ZoneInfo.KeySpec (2.53.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
Type Description
ZoneInfo.KeySpec.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAlgorithm()

public String getAlgorithm()

Returns the DNSSEC algorithm of this key.

Returns
Type Description
String

getKeyLength()

public Long getKeyLength()

Returns the key length.

Returns
Type Description
Long

getKeyType()

public String getKeyType()

Returns the key type.

Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides