Authen::Krb5::KDB::Key - objects for Kerberos V5 database Key data
use Authen::Krb5::KDB::Key; Authen::Krb5::KDB::Key->new ( checks => N, lineno => N, version => $version, kvno => $kvno, data => $data ); foreach my $key (@{$principal->key_data()}) { print " Ver: ", $key->version(), "\n"; print "Kvno: ", $key->kvno(), "\n"; while ($key->next_data()) { print " Type: ", $key->type(), "\n"; print " Length: ", $key->length(), "\n"; print " Contents: ", $key->contents(), "\n"; } }
Generally this functions are only used internally within other KDB modules.
Parse hexadecimal contents and return as a string.
Dave Steiner, <steiner@bakerst.rutgers.edu>
Copyright (c) 2002 David K. Steiner. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl(1), kerberos(1), Authen::Krb5::KDB, Authen::Krb5::KDB_H, Authen::Krb5::KDB::V5, Authen::Krb5::KDB::V4, Authen::Krb5::KDB::V3.
To install Authen::Krb5::KDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::Krb5::KDB
CPAN shell
perl -MCPAN -e shell install Authen::Krb5::KDB
For more information on module installation, please visit the detailed CPAN module installation guide.