| 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 Business::OnlinePayment::BitPay::KeyUtils; |
|
8
|
1
|
|
|
1
|
|
472
|
use base qw(Exporter); |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
98
|
|
|
9
|
1
|
|
|
1
|
|
4
|
use base qw(DynaLoader); |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
343
|
|
|
10
|
|
|
|
|
|
|
package Business::OnlinePayment::BitPay::KeyUtilsc; |
|
11
|
|
|
|
|
|
|
bootstrap Business::OnlinePayment::BitPay::KeyUtils; |
|
12
|
|
|
|
|
|
|
package Business::OnlinePayment::BitPay::KeyUtils; |
|
13
|
|
|
|
|
|
|
@EXPORT = qw(); |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ---------- BASE METHODS ------------- |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
package Business::OnlinePayment::BitPay::KeyUtils; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub TIEHASH { |
|
20
|
0
|
|
|
0
|
|
|
my ($classname,$obj) = @_; |
|
21
|
0
|
|
|
|
|
|
return bless $obj, $classname; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
0
|
|
|
sub CLEAR { } |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
0
|
|
|
sub FIRSTKEY { } |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
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 Business::OnlinePayment::BitPay::KeyUtils; |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
*generatePem = *Business::OnlinePayment::BitPay::KeyUtilsc::generatePem; |
|
53
|
|
|
|
|
|
|
*generateSinFromPem = *Business::OnlinePayment::BitPay::KeyUtilsc::generateSinFromPem; |
|
54
|
|
|
|
|
|
|
*getPublicKeyFromPem = *Business::OnlinePayment::BitPay::KeyUtilsc::getPublicKeyFromPem; |
|
55
|
|
|
|
|
|
|
*signMessageWithPem = *Business::OnlinePayment::BitPay::KeyUtilsc::signMessageWithPem; |
|
56
|
|
|
|
|
|
|
*bpSignMessageWithPem = *Business::OnlinePayment::BitPay::KeyUtilsc::bpSignMessageWithPem; |
|
57
|
|
|
|
|
|
|
*bpGeneratePem = *Business::OnlinePayment::BitPay::KeyUtilsc::bpGeneratePem; |
|
58
|
|
|
|
|
|
|
*bpGenerateSinFromPem = *Business::OnlinePayment::BitPay::KeyUtilsc::bpGenerateSinFromPem; |
|
59
|
|
|
|
|
|
|
*bpGetPublicKeyFromPem = *Business::OnlinePayment::BitPay::KeyUtilsc::bpGetPublicKeyFromPem; |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
# ------- VARIABLE STUBS -------- |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
package Business::OnlinePayment::BitPay::KeyUtils; |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
1; |