« blib/lib/Crypt/Perl/X509/Extension/issuerAltName.pm
↑ Summary
blib/lib/Crypt/Perl/X509/Extension/policyConstraints.pm »
| 1 | package Crypt::Perl::X509::Extension::noCheck; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =encoding utf-8 | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Crypt::Perl::X509::Extension::noCheck | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | my $usage_obj = Crypt::Perl::X509::Extension::noCheck->new(); | ||
| 15 | |||
| 16 | =head1 SEE ALSO | ||
| 17 | |||
| 18 | L<https://www.ietf.org/rfc/rfc2560.txt> | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | use parent qw( Crypt::Perl::X509::Extension ); | ||
| 23 | |||
| 24 | use constant OID => '1.3.6.1.5.5.7.48.1.5'; | ||
| 25 | |||
| 26 | use constant CRITICAL => 0; | ||
| 27 | |||
| 28 | use constant ASN1 => <<END; | ||
| 29 | noCheck ::= NULL | ||
| 30 | END | ||
| 31 | |||
| 32 | sub new { | ||
| 33 | my ($class) = @_; | ||
| 34 | |||
| 35 | my $self; | ||
| 36 | |||
| 37 | return bless \$self, $class; | ||
| 38 | } | ||
| 39 | |||
| 40 | sub _encode_params { | ||
| 41 | my ($self) = @_; | ||
| 42 | |||
| 43 | return; | ||
| 44 | } | ||
| 45 | |||
| 46 | 1; |