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