| 1 | use Object::Pad ':experimental(:all)'; | ||
| 2 | |||
| 3 | package Net::SSLeay::CA::Base::x509; | ||
| 4 | |||
| 5 | class Net::SSLeay::CA::Base::x509 : abstract; | ||
| 6 | |||
| 7 | use v5.40; | ||
| 8 | use utf8; | ||
| 9 | |||
| 10 | my class Subject { | ||
| 11 | field $cn : param; | ||
| 12 | field $o : param; | ||
| 13 | field $ou : param; | ||
| 14 | }; | ||
| 15 | |||
| 16 | field $subjectargs : param(subject); | ||
| 17 | field $subject : reader = { Subject->new(%$subjectargs) }; | ||
| 18 | field $digestalgo; | ||
| 19 | field $publickey; | ||
| 20 | |||
| 21 | #field $privatekey | ||
| 22 |