#include <dns_key_spec.h>
Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey.
◆ DnsKeySpec() [1/2]
google_dns_api::DnsKeySpec::DnsKeySpec |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ DnsKeySpec() [2/2]
google_dns_api::DnsKeySpec::DnsKeySpec |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~DnsKeySpec()
google_dns_api::DnsKeySpec::~DnsKeySpec |
( |
| ) |
|
|
virtual |
◆ clear_algorithm()
void google_dns_api::DnsKeySpec::clear_algorithm |
( |
| ) |
|
|
inline |
Clears the 'algorithm
' attribute.
◆ clear_key_length()
void google_dns_api::DnsKeySpec::clear_key_length |
( |
| ) |
|
|
inline |
Clears the 'keyLength
' attribute.
◆ clear_key_type()
void google_dns_api::DnsKeySpec::clear_key_type |
( |
| ) |
|
|
inline |
Clears the 'keyType
' attribute.
◆ clear_kind()
void google_dns_api::DnsKeySpec::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ get_algorithm()
const StringPiece google_dns_api::DnsKeySpec::get_algorithm |
( |
| ) |
const |
|
inline |
Get the value of the 'algorithm
' attribute.
◆ get_key_length()
uint32 google_dns_api::DnsKeySpec::get_key_length |
( |
| ) |
const |
|
inline |
Get the value of the 'keyLength
' attribute.
◆ get_key_type()
const StringPiece google_dns_api::DnsKeySpec::get_key_type |
( |
| ) |
const |
|
inline |
Get the value of the 'keyType
' attribute.
◆ get_kind()
const StringPiece google_dns_api::DnsKeySpec::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ GetTypeName()
const StringPiece google_dns_api::DnsKeySpec::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_algorithm()
bool google_dns_api::DnsKeySpec::has_algorithm |
( |
| ) |
const |
|
inline |
Determine if the 'algorithm
' attribute was set.
- Returns
- true if the '
algorithm
' attribute was set.
◆ has_key_length()
bool google_dns_api::DnsKeySpec::has_key_length |
( |
| ) |
const |
|
inline |
Determine if the 'keyLength
' attribute was set.
- Returns
- true if the '
keyLength
' attribute was set.
◆ has_key_type()
bool google_dns_api::DnsKeySpec::has_key_type |
( |
| ) |
const |
|
inline |
Determine if the 'keyType
' attribute was set.
- Returns
- true if the '
keyType
' attribute was set.
◆ has_kind()
bool google_dns_api::DnsKeySpec::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_algorithm()
void google_dns_api::DnsKeySpec::set_algorithm |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'algorithm
' attribute.
String mnemonic specifying the DNSSEC algorithm of this key.
- Parameters
-
◆ set_key_length()
void google_dns_api::DnsKeySpec::set_key_length |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'keyLength
' attribute.
Length of the keys in bits.
- Parameters
-
◆ set_key_type()
void google_dns_api::DnsKeySpec::set_key_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'keyType
' attribute.
Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets.
- Parameters
-
◆ set_kind()
void google_dns_api::DnsKeySpec::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Identifies what kind of resource this is. Value: the fixed string "dns#dnsKeySpec".
- Parameters
-
The documentation for this class was generated from the following files: