File Coverage

blib/lib/UID2/Client/EncryptionStatus.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package UID2::Client::EncryptionStatus;
2 3     3   15 use strict;
  3         4  
  3         70  
3 3     3   12 use warnings;
  3         5  
  3         61  
4 3     3   11 use Exporter 'import';
  3         5  
  3         114  
5              
6             use constant {
7 3         331 SUCCESS => 0,
8             NOT_AUTHORIZED_FOR_KEY => 1,
9             NOT_INITIALIZED => 2,
10             KEYS_NOT_SYNCED => 3,
11             TOKEN_DECRYPT_FAILURE => 4,
12             KEY_INACTIVE => 5,
13             ENCRYPTION_FAILURE => 6,
14 3     3   23 };
  3         6  
15              
16             our @EXPORT_OK = qw(
17             SUCCESS
18             NOT_AUTHORIZED_FOR_KEY
19             NOT_INITIALIZED
20             KEYS_NOT_SYNCED
21             TOKEN_DECRYPT_FAILURE
22             KEY_INACTIVE
23             ENCRYPTION_FAILURE
24             );
25              
26             1;
27             __END__