Crypt::Perl::PKCS10::Attribute::extensionRequest - CSR “extensionRequest” attribute
#Each object passed should be an instance of a subclass of #Crypt::Perl::X509::Extension my $exreq = Crypt::Perl::PKCS10::Attribute::extensionRequest->new( @EXTN_OBJS ); #...or: my $exreq = Crypt::Perl::PKCS10::Attribute::extensionRequest->new( [ $extn_type1 => @args1 ], [ $extn_type2 => @args2 ], ); #...for example: my $exreq = Crypt::Perl::PKCS10::Attribute::extensionRequest->new( [ 'subjectAltName', [ dNSName => 'foo.com' ], [ dNSName => 'haha.tld' ], ], );
Instances of this class represent an extensionRequest attribute of a PKCS #10 Certificate Signing Request (CSR).
extensionRequest
You probably don’t need to instantiate this class directly; instead, you can instantiate it implicitly by listing out arguments to Crypt::Perl::PKCS10’s constructor. See that module’s SYNOPSIS for an example.
Look in the Crypt::Perl distribution’s Crypt::Perl::X509::Extension namespace for supported extensions.
Crypt::Perl::X509::Extension
To install Crypt::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Perl
CPAN shell
perl -MCPAN -e shell install Crypt::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.