RDN(3pm)

πŸ“¦
version 0.29 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– RDN(3pm) β€” the X500::RDN situation πŸ’–

User Contributed Perl Documentation bestie, and today we're talking about X500::RDN β€” the module that handles X.500 RDNs (Relative Distinguished Names), parsing them and formatting them. She's a supporting character but she eats every time. πŸŽ€


✨ NAME ✨

X500::RDN β€” handle X.500 RDNs (Relative Distinguished Names), parse and format them. That's it, that's the whole job description, and she does it flawlessly. πŸ’…


🌸 SYNOPSIS 🌸

okay so here's the vibe, look:

use X500::RDN;

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

you make one, you pull a value out of it, you move on with your day. iconic behaviour, no notes. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

This module handles X.500 RDNs (Relative Distinguished Names). It's a supporting module for X500::DN β€” think of her as the bestie who shows up with the aux cord and absolutely delivers. 🫢

πŸ’œ Methods πŸ’œ

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

Creates an RDN object from argument pairs, where each pair is an attribute type and a value. Heads up bestie: if you pass more than one pair as arguments, you will get a multi-valued RDN. she's got range, fr fr. πŸ’…

  • $object->isMultivalued();

Returns whether the RDN is multi-valued. yes/no energy. vibe check for your RDN. ⭐

  • $object->getAttributeTypes();

Returns the RDN's attribute types, as a list of strings. all of them. the whole roster. πŸ‘‘

  • $object->getAttributeValue (type);

Returns the RDN attribute's value. you name the type, she hands over the value. easy. πŸ’–

  • $object->getRFC2253String();

Returns the RDN as a string formatted according to RFC 2253 syntax. the classic. the standard. the moment. ✨

  • $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!? 😭 not me finding out it's held together with tape and hope. still slays though.
  • $object->getOpenSSLString();

Returns the RDN as a string formatted according to one of openssl's syntaxes. Croaks on multi-valued RDNs β€” so if you feed her a multivalued one, she WILL make a sound. consider yourself warned, bestie. πŸ’€


πŸŽ€ EXPORT πŸŽ€

None. nothing. zero. she gives you nothing for free and honestly? respect. πŸ™ˆ


πŸ’€ BUGS πŸ’€

crickets πŸ¦— β€” there is literally nothing written here. no known bugs listed, no reports, just a beautiful empty void. so either she's perfect or nobody's checked. iykyk. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Robert Joop <yaph-070708@timesink.de> β€” the legend, the main character, the one who wrote this whole thing. 🫢


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. same terms as Perl itself, periodt. πŸ’–


🌸 SEE ALSO 🌸

  • X500::DN β€” her supporting module era, go show some love πŸ’œ
  • perl β€” yeah. the whole thing. the mothership. 🧚

okay that's the whole page bestie, no cap, every last detail preserved ✨ β€” and this little manual page is brought to you by perl v5.36.0, dated 2022-12-12, filed under RDN(3pm). mwah, go forth and parse your RDNs. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from