NAME

Net::Domain::SMD::RL - SMD Revokation List

INHERITANCE

Net::Domain::SMD::RL
  is a Exporter

SYNOPSIS

my $crl  = Net::Domain::SMD::RL->fromFile($fn, %options);
my $crl  = Net::Domain::SMD::RL->fromURI($uri, %options);

if($rl->isRevoked($smd)) ...
if($rl->isRevoked($smd)) ...

my $tmch = Net::Domain::TMCH->new
  ( ...
  , smd_revocations => ...
  );
my @rl = $tmch->smdRevocations;

DESCRIPTION

Draft RFC http://tools.ietf.org/html/draft-lozano-tmch-func-07 specifies a way for TLD (domain registries) to exchange mark rights (brand registrations). This module manages the files which list revocation of SMD files.

METHODS

Constructors

$obj->fromFile(FILENAME, OPTIONS)

Read a RL from file, for instance a cached or test RL. The OPTIONS are passed to new().

$obj->fromURI(URI, OPTIONS)

Create a new RL object from an URI, which is collected dynamically. The OPTIONS are passed to new().

Net::Domain::SMD::RL->new(OPTIONS)
-Option --Default
 revoked  []
 source   <required>
revoked => HASH|ARRAY

ARRAY of serial numbers from revoked certificates, or a HASH of which the keys are the revoked serials.

source => STRING|FILENAME|URI

Identification for the source of this list, to be used in error message and such.

Attributes

$obj->source()

Actions

$obj->isRevoked(SMD|SMDID)

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