/usr/lib/x86_64-linux-gnu/perl5/5.22/auto/Crypt/OpenSSL/RSA/new_public_key.al is in libcrypt-openssl-rsa-perl 0.28-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # NOTE: Derived from blib/lib/Crypt/OpenSSL/RSA.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Crypt::OpenSSL::RSA;
#line 82 "blib/lib/Crypt/OpenSSL/RSA.pm (autosplit into blib/lib/auto/Crypt/OpenSSL/RSA/new_public_key.al)"
sub new_public_key
{
my ($proto, $p_key_string) = @_;
if ($p_key_string =~ /^-----BEGIN RSA PUBLIC KEY-----/)
{
return $proto->_new_public_key_pkcs1($p_key_string);
}
elsif ($p_key_string =~ /^-----BEGIN PUBLIC KEY-----/)
{
return $proto->_new_public_key_x509($p_key_string);
}
else
{
croak "unrecognized key format";
}
}
# end of Crypt::OpenSSL::RSA::new_public_key
1;
|