FreeBSD Manual Pages
No::Worries::DN(3) User Contributed Perl Documentation No::Worries::DN(3) NAME No::Worries::DN - Distinguished Names handling without worries SYNOPSIS use No::Worries::DN qw(dn_parse dn_string); $dn = dn_parse("/C=US/O=Acme Corporation/CN=John Doe"); $string = dn_string($dn, No::Worries::DN::FORMAT_JAVA); DESCRIPTION This module eases Distinguished Names (DNs) handling by providing convenient functions to parse and convert DNs from and to different formats. All the functions die() on error. FUNCTIONS This module provides the following functions (none of them being exported by default): dn_parse(STRING) parse a string containing DN information and return an array reference dn_string(DN, FORMAT) convert the given parsed DN (an array reference) into a string of the given format, this is somehow the opposite of dn_parse() FORMATS Here are the supported formats: No::Worries::DN::FORMAT_RFC2253 this is the format defined by RFC 2253, for instance: "CN=John Doe,O=Acme Corporation,C=US" No::Worries::DN::FORMAT_JAVA this is a variant of RFC 2253, with extra spaces, for instance: "CN=John Doe, O=Acme Corporation, C=US" No::Worries::DN::FORMAT_OPENSSL this is the default format used by OpenSSL, for instance: "/C=US/O=Acme Corporation/CN=John Doe" SEE ALSO No::Worries. AUTHOR Lionel Cons <http://cern.ch/lionel.cons> Copyright (C) CERN 2012-2019 perl v5.32.1 2019-04-03 No::Worries::DN(3)
NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | FORMATS | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=No::Worries::DN&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>