X500::RDN - handle X.500 RDNs (Relative Distinguished Names), parse and format them
use X500::RDN; my $rdn = new X500::RDN ('c'=>'DE'); my $c = $rdn->getAttributeValue ('c');
This module handles X.500 RDNs (Relative Distinguished Names). This is a supporting module for X500::DN.
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.
Returns whether the RDN is multi-valued.
Returns the RDN's attribute types, a list of strings.
Returns the RDN attribute's value.
Returns the RDN as a string formatted according to RFC 2253 syntax.
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!?
Returns the RDN as a string formatted according to one of openssl's syntaxes. Croaks on multi-valued RDNs.
Robert Joop <firstname.lastname@example.org>
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.