NAME

Net::DHCPv6::Option::Auth - Authentication option (code 11) — protocol/algorithm/rdm/replay/auth-info

VERSION

version 0.001

SYNOPSIS

use Net::DHCPv6::Option::Auth;
my $opt = Net::DHCPv6::Option::Auth->new(
    protocol  => 3,
    algorithm => 1,
    rdm       => 0,
    replay    => "\x00" x 8,
    auth_info => '...',
);

DESCRIPTION

Carries authentication information for DHCPv6 messages, including protocol, algorithm, replay detection method, replay counter, and authentication data. See RFC 8415 §21.11.

ALPHA STATUS

ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.

METHODS

new

Constructor. Requires protocol, algorithm, rdm, and replay (exactly 8 bytes). Optional auth_info.

protocol

Returns the protocol field.

algorithm

Returns the algorithm field.

rdm

Returns the replay detection method field.

replay

Returns the 8-byte replay counter.

auth_info

Returns the authentication information bytes.

SEE ALSO

Net::DHCPv6::Option, Net::DHCPv6::OptionList

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License