NAME

Net::Domain::TMCH - TradeMark Clearing House

INHERITANCE

Net::Domain::TMCH
  is a Exporter

SYNOPSIS

my $tmch  = Net::Domain::TMCH->new(%options);

my $smd   = $tmch->smd($filename);

DESCRIPTION

Draft RFC http://tools.ietf.org/html/draft-lozano-tmch-func-07 specifies a way for TLD (domain registries) to exchange information about trademark rights, brand registrations.

This module manages the verification process of "SMD"-files, each containing a crypto-signed XML structure of information related to a single trademark claim.

METHODS

Constructors

Net::Domain::TMCH->new(OPTIONS)
-Option          --Default
 cert_revocations  <according to rfc>
 is_pilot          <false>
 smd_admin         <generated internally>
 smd_revocations   []
 tmch_certificate  <included>
cert_revocations => FILENAME|URI

The CRL for invalidated TMV certificates.

is_pilot => BOOLEAN
smd_admin => Net::Domain::SMD-object
smd_revocations => FILENAME|URI|ARRAY
tmch_certificate => FILENAME

This must be a PEM file which contains the certificate on top of all TMCH certificates.

Attributes

$obj->certRevocations()
$obj->isPilot()
$obj->smdAdmin()
$obj->smdRevocations()
$obj->tmchCA()
$obj->tmchCertficate()

Actions

$obj->smd(FILENAME, OPTIONS)

Returns a Net::Domain::SMD::File object, reflecting what is kept inside the named file. undef is returned when something is wrong.

-Option            --Default
 accept_expired      <false>
 trust_certificates  <false>
accept_expired => BOOLEAN

When true, you will be able to access expired SMD files. This is especially useful in regression tests, or when you process ancient SMD files.

trust_certificates => BOOLEAN

Do not check the certificates inside the SMD file for validity.

example:

my $smd = $tmch->smd($fh)
    or die "cannot use $fn: $@";

SEE ALSO

This module is part of Net-Domain-TMCH distribution version 0.12, built on October 14, 2013. Development was supported by NIC.at, the Austrian Domainname Registry.

Website: F<http://perl.overmeer.net/net-domain-tmch/>

The documentation and interface style is consistent with a large set of modules, belonging to the XML::Compile suite.

LICENSE

Copyrights 2013 by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html