@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public final class TSIG extends Object
A TSIG key.
Note: Objects should always be created or deserialized using the TSIG.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the TSIG.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
TSIG.Builder |
| Constructor and Description |
|---|
TSIG(String name,
String secret,
String algorithm)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TSIG.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAlgorithm()
TSIG Algorithms are encoded as domain names, but most consist of only one
non-empty label, which is not required to be explicitly absolute.
|
String |
getName()
A domain name identifying the key for a given pair of hosts.
|
String |
getSecret()
A base64 string encoding the binary shared secret.
|
int |
hashCode() |
TSIG.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","secret","algorithm"}) @Deprecated public TSIG(String name, String secret, String algorithm)
public static TSIG.Builder builder()
Create a new builder.
public TSIG.Builder toBuilder()
public String getName()
A domain name identifying the key for a given pair of hosts.
public String getSecret()
A base64 string encoding the binary shared secret.
public String getAlgorithm()
TSIG Algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see RFC 4635.
Copyright © 2016–2021. All rights reserved.