| GSSAPI documentation | Contained in the GSSAPI distribution. |
GSSAPI::OID::Set - methods for handling sets of GSSAPI OIDs, and some constant OID sets.
use GSSAPI;
$oidset = GSSAPI::OID::Set->new;
$status = $oidset->insert($oid);
$status = $oidset->contains($oid, $isthere);
if ($status && $isthere) {
# blah blah blah
}
GSSAPI::OID::Set objects are simple sets of GSSAPI:OIDs (duh).
There's no way to list the OIDs in a set; you can only check to see if a particular one is present. This is really a bug in the C API, so any fix would be implementation specific.
Philip Guenther <pguen@cpan.org>
perl(1) GSSAPI(3p) GSSAPI::OID(3p) RFC2743
| GSSAPI documentation | Contained in the GSSAPI distribution. |
package GSSAPI::OID::Set; require 5.005_62; use strict; use warnings; require Exporter; our @ISA = qw(Exporter GSSAPI); our %EXPORT_TAGS = ( 'all' => [ qw() ] ); our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); our @EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); 1; __END__