line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Off-the-Record contact's Fingerprint |
2
|
|
|
|
|
|
|
package Protocol::OTR::Fingerprint; |
3
|
|
|
|
|
|
|
BEGIN { |
4
|
4
|
|
|
4
|
|
130
|
$Protocol::OTR::Fingerprint::AUTHORITY = 'cpan:AJGB'; |
5
|
|
|
|
|
|
|
} |
6
|
|
|
|
|
|
|
$Protocol::OTR::Fingerprint::VERSION = '0.05'; |
7
|
4
|
|
|
4
|
|
15
|
use strict; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
103
|
|
8
|
4
|
|
|
4
|
|
15
|
use warnings; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
2820
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub _new { |
11
|
17
|
|
|
17
|
|
24
|
my ($class, $cnt, $args) = @_; |
12
|
|
|
|
|
|
|
|
13
|
17
|
|
|
|
|
38
|
my $self = bless $args, $class; |
14
|
17
|
|
|
|
|
37
|
$self->{cnt} = $cnt; |
15
|
|
|
|
|
|
|
|
16
|
17
|
|
|
|
|
85
|
return $self; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub contact { |
20
|
12
|
|
|
12
|
1
|
62
|
return $_[0]->{cnt}; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub status { |
24
|
10
|
|
|
10
|
1
|
3513
|
return $_[0]->{status}; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub is_verified { |
28
|
7
|
|
|
7
|
1
|
34
|
return $_[0]->{is_verified}; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |