GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       X500::RDN - handle X.500 RDNs (Relative Distinguished Names), parse and
       format them

SYNOPSIS

         use X500::RDN;

         my $rdn = new X500::RDN ('c'=>'DE');
         my $c = $rdn->getAttributeValue ('c');

DESCRIPTION

       This module handles X.500 RDNs (Relative Distinguished Names).  This is
       a supporting module for X500::DN.

   Methods
       ·   $object = new X500::RDN ('type'=>'value', 'type'=>'value', ...);

           Creates an RDN object from argument pairs, each pair an attribute
           type and value.  With more than one pair as arguments, you will get
           a multi-valued RDN.

       ·   $object->isMultivalued();

           Returns whether the RDN is multi-valued.

       ·   $object->getAttributeTypes();

           Returns the RDN's attribute types, a list of strings.

       ·   $object->getAttributeValue (type);

           Returns the RDN attribute's value.

       ·   $object->getRFC2253String();

           Returns the RDN as a string formatted according to RFC 2253 syntax.

       ·   $object->getX500String();

           Returns the RDN as a string formatted according to X.500 syntax.
           NOTE: This is a hack, there is no definition for a X.500 string
           syntax!?

       ·   $object->getOpenSSLString();

           Returns the RDN as a string formatted according to one of openssl's
           syntaxes.  Croaks on multi-valued RDNs.

   EXPORT
       None.

BUGS


AUTHOR

       Robert Joop <yaph-070708@timesink.de>

COPYRIGHT

       Copyright 2002 Robert Joop.  All Rights reserved.  This program is free
       software; you can redistribute it and/or modify it under the same terms
       as Perl itself.

SEE ALSO

       X500::DN, perl.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.092 seconds. Last modified: November 04 2018 12:49:43.