line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# This file was automatically generated by SWIG (http://www.swig.org). |
2
|
|
|
|
|
|
|
# Version 3.0.5 |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Do not make changes to this file unless you know what you are doing--modify |
5
|
|
|
|
|
|
|
# the SWIG interface file instead. |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package BitPay::key_utils; |
8
|
1
|
|
|
1
|
|
326
|
use base qw(Exporter); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
82
|
|
9
|
1
|
|
|
1
|
|
4
|
use base qw(DynaLoader); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
336
|
|
10
|
|
|
|
|
|
|
package BitPay::key_utilsc; |
11
|
|
|
|
|
|
|
bootstrap BitPay::key_utils; |
12
|
|
|
|
|
|
|
package BitPay::key_utils; |
13
|
|
|
|
|
|
|
@EXPORT = qw(); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ---------- BASE METHODS ------------- |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
package BitPay::key_utils; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub TIEHASH { |
20
|
0
|
|
|
0
|
|
|
my ($classname,$obj) = @_; |
21
|
0
|
|
|
|
|
|
return bless $obj, $classname; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
|
|
sub CLEAR { } |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
|
|
sub FIRSTKEY { } |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
|
|
sub NEXTKEY { } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub FETCH { |
31
|
0
|
|
|
0
|
|
|
my ($self,$field) = @_; |
32
|
0
|
|
|
|
|
|
my $member_func = "swig_${field}_get"; |
33
|
0
|
|
|
|
|
|
$self->$member_func(); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub STORE { |
37
|
0
|
|
|
0
|
|
|
my ($self,$field,$newval) = @_; |
38
|
0
|
|
|
|
|
|
my $member_func = "swig_${field}_set"; |
39
|
0
|
|
|
|
|
|
$self->$member_func($newval); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub this { |
43
|
0
|
|
|
0
|
0
|
|
my $ptr = shift; |
44
|
0
|
|
|
|
|
|
return tied(%$ptr); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
# ------- FUNCTION WRAPPERS -------- |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
package BitPay::key_utils; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
*generatePem = *BitPay::key_utilsc::generatePem; |
53
|
|
|
|
|
|
|
*generateSinFromPem = *BitPay::key_utilsc::generateSinFromPem; |
54
|
|
|
|
|
|
|
*getPublicKeyFromPem = *BitPay::key_utilsc::getPublicKeyFromPem; |
55
|
|
|
|
|
|
|
*signMessageWithPem = *BitPay::key_utilsc::signMessageWithPem; |
56
|
|
|
|
|
|
|
*mysignMessageWithPem = *BitPay::key_utilsc::mysignMessageWithPem; |
57
|
|
|
|
|
|
|
*mygeneratePem = *BitPay::key_utilsc::mygeneratePem; |
58
|
|
|
|
|
|
|
*mygenerateSinFromPem = *BitPay::key_utilsc::mygenerateSinFromPem; |
59
|
|
|
|
|
|
|
*mygetPublicKeyFromPem = *BitPay::key_utilsc::mygetPublicKeyFromPem; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
# ------- VARIABLE STUBS -------- |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
package BitPay::key_utils; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
1; |