File Coverage

blib/lib/Tiny/OpenSSL/Certificate.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 2     2   1119 use strict;
  2         5  
  2         69  
2 2     2   15 use warnings;
  2         4  
  2         102  
3              
4             package Tiny::OpenSSL::Certificate;
5              
6             # ABSTRACT: X509 Certificate Object.
7             our $VERSION = '0.1.1'; # VERSION
8              
9 2     2   10 use Moo;
  2         3  
  2         12  
10 2     2   650 use Types::Standard qw( InstanceOf );
  2         3  
  2         30  
11              
12             with 'Tiny::OpenSSL::Role::Entity';
13              
14             has [qw(issuer subject)] =>
15             ( is => 'rw', isa => InstanceOf ['Tiny::OpenSSL::Subject'] );
16              
17             has key => ( is => 'rw', isa => InstanceOf ['Tiny::OpenSSL::Key'] );
18              
19             1;
20              
21             __END__