| 1 | |||||||||||
| 2 | package XML::SRS::Keyring; | ||||||||||
| 3 | 1 | ▶ | BEGIN { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | $XML::SRS::Keyring::VERSION = '0.09'; | |||||||||
| 5 | } | ||||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 1 | ▶ | use PRANG::Graph; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 1 | ▶ | use Moose::Util::TypeConstraints; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | subtype 'XML::SRS::PGP::PubKey' | ||||||||||
| 12 | => as "Str" | ||||||||||
| 13 | 0 | ▶ | => where { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 14 | 0 | ▶ | m{\A-----BEGIN PGP PUBLIC KEY} && | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | m{-----END PGP PUBLIC KEY.*\Z}; | ||||||||||
| 16 | 1 | }; | |||||||||
| 17 | |||||||||||
| 18 | 1 | has_element 'keys' => | |||||||||
| 19 | is => "rw", | ||||||||||
| 20 | isa => "ArrayRef[Str]", | ||||||||||
| 21 | xml_nodeName => "EncryptKey", | ||||||||||
| 22 | ; | ||||||||||
| 23 | |||||||||||
| 24 | 1 | with 'XML::SRS::Node'; | |||||||||
| 25 | |||||||||||
| 26 | 1 | 1; | |||||||||