Package: libcrypt-x509-perl
Version: 0.40-1
In the source is missing function for returning subject's locality from
certificate. Correction is simple, see patch below.
Regards,
--- a/X509.pm 2010-09-16 21:18:06.840840619 +0200
+++ b/X509.pm 2010-09-16 21:17:49.588711091 +0200
@@ -394,6 +394,19 @@
return _subject_part( $self, '2.5.4.6' );
}
+=head2 subject_locality
+
+Returns the string value for subject's locality (= the value with the
+ OID 2.5.4.7 or in DN Syntax everything after C<l=>).
+Only the first entry is returned. C<undef> if subject contains no locality
attribute.
+
+=cut back
+
+sub subject_locality {
+ my $self = shift;
+ return _subject_part( $self, '2.5.4.7' );
+}
+
=head2 subject_state
Returns the string value for subject's state or province (= the value with the
--
Milan Kocian
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]