The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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. All rights reserved.

LICENSE

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.