| 1 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Tiny::OpenSSL::Certificate; | ||
| 5 | |||
| 6 | # ABSTRACT: X509 Certificate Object. | ||
| 7 | 2 | our $VERSION = '0.1.1'; # VERSION | |
| 8 | |||
| 9 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 2 | ▶ | use Types::Standard qw( InstanceOf ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 2 | with 'Tiny::OpenSSL::Role::Entity'; | |
| 13 | |||
| 14 | 2 | has [qw(issuer subject)] => | |
| 15 | ( is => 'rw', isa => InstanceOf ['Tiny::OpenSSL::Subject'] ); | ||
| 16 | |||
| 17 | 2 | has key => ( is => 'rw', isa => InstanceOf ['Tiny::OpenSSL::Key'] ); | |
| 18 | |||
| 19 | 2 | 1; | |
| 20 | |||
| 21 | __END__ | ||