NAME
Net::RDAP::EPPStatusMap - a module which provides a mapping between EPP and RDAP status values.
SYNOPSIS
use Net::RDAP::EPPStatusMap;
# prints 'client delete prohibited'
print epp2rdap('clientDeleteProhibited');
# prints 'clientDeleteProhibited'
print rdap2epp('client delete prohibited');
DESCRIPTION
RFC 8056 describes the mapping of the Extensible Provisioning Protocol (EPP) statuses with the statuses registered for use in the Registration Data Access Protocol (RDAP).
This module provides two functions which provide an easy way to convert status values from one protocol into the other.
EXPORTED FUNCTIONS
epp2rdap()
The epp2rdap()
function accepts an EPP status code as an argument and returns the corresponding RDAP status. If no mapping is defined then it returns undef
.
rdap2epp
The rdap2epp()
function accepts an RDAP status code as an argument and returns the corresponding EPP status. If no mapping is defined then it returns undef
.
COPYRIGHT
Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. For licensing information, please see the LICENSE
file in the Net::RDAP distribution.