line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::HSM; |
2
|
|
|
|
|
|
|
$Crypt::HSM::VERSION = '0.011'; |
3
|
1
|
|
|
1
|
|
67270
|
use strict; |
|
1
|
|
|
|
|
11
|
|
|
1
|
|
|
|
|
27
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use XSLoader; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
95
|
|
7
|
|
|
|
|
|
|
XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#backwards compat |
10
|
|
|
|
|
|
|
sub open_session { |
11
|
0
|
|
|
0
|
1
|
|
my ($self, $slot, @args) = @_; |
12
|
0
|
0
|
|
|
|
|
my $object = ref($slot) ? $slot : $self->slot($slot); |
13
|
0
|
|
|
|
|
|
return $object->open_session(@args); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
#ABSTRACT: A PKCS11 interface for Perl |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |