Crypt-SecretBuffer
view release on metacpan or search on metacpan
lib/Crypt/SecretBuffer/PEM.pm view on Meta::CPAN
This object/hashref only provides a view of the L<header_kv> array, and is not particularly
efficient at reading or writing it. (but, it's very convenient)
If there are multiple header keys with the same name, the value returned for that name is an
arrayref of all the values.
=head2 content
A L<Span|Crypt::SecretBuffer::Span> or SecretBuffer that contains the bytes of the PEM payload.
This span created by L</parse> has C<< encoding => BASE64 >> set, which affects the
character-based methods like C<parse>, but has not actually been Base64-decoded, which matters
for methods like C<length> or C<memcmp>.
=head1 METHODS
=head2 serialize
$buffer= $pem->serialize;
This writes a PEM block into a SecretBuffer object. The headers (if any) come from L</header_kv>,
falling back to the L</headers> hashref.
( run in 0.455 second using v1.01-cache-2.11-cpan-df04353d9ac )