Infoblox::DNS::DNSSecKey - DNSSEC key object.


NAME

Infoblox::DNS::DNSSecKey - DNSSEC key object.


DESCRIPTION

The DNSSEC object contains information about keys available in authoritative zones.


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

algorithm( )

Use this method to retrieve the public-key encryption algorithm. This is a read-only attribute.

Parameter

None

Returns

The return value is the public-key encryption algorithm in string format.

Example
 #Get algorithm value
 my $value = $dnssec_key->algorithm();

next_event_date( )

Use this method to retrieve the next event date. The event date can be a date for the rollover of an ACTIVE key or a PUBLISHED key, or the removal of a ROLLED key. This is a read-only attribute.

Parameter

None

Returns

The date of next event in ISO 8601 extended format (e.g., 2008-10-21T10:56:00Z or 2008-10-21T10:56:00.001Z).

Example
 #Get next_event_date value
 my $value = $dnssec_key->next_event_date();

public_key( )

Use this method to retrieve the Base-64 encoding of the public key. This is a read-only attribute.

Parameter

None

Returns

The return value is a Base-64 encoded public key in string format.

Example
 #Get public_key value
 my $value = $dnssec_key->public_key();

status( )

Use this method to retrieve key status for the authoritative zone. This is a read-only attribute.

Parameter

None

Returns

The valid return values are "ACTIVE", "PUBLISHED" and "ROLLED".

Example
 #Get status value
 my $value = $dnssec_key->status();

tag( )

Use this method to retrieve the key tag for the authoritative zone. This is a read-only attribute.

Parameter

None

Returns

The return value is an integer between 0 and 65535.

Example
 #Get tag value
 my $value = $dnssec_key->tag();

type( )

Use this method to retrieve the type of key. This is a read-only attribute.

Parameter

None

Returns

The valid return values are "KSK" and "ZSK".

Example
 #Get type value
 my $value = $dnssec_key->type();


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

ISO 8601 extended format


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.