Infoblox::OCSP::Responder - an OCSP authentication responder.
An Infoblox::OCSP::Responder object represents an OCSP authentication responder.
my $responder = Infoblox::OCSP::Responder->new( address => $string, # Required certificate => $string, # Required port => $uint, # Optional / Default value is 80 comment => $string, # Optional disabled => "true" | "false", # Optional / Default value is "false" );
The following functions can be applied to an OCSP authentication responder object.
Use this function to add or retrieve the OCSP authentication responder object in the Certificate Authentication Service object. See Infoblox::Grid::Admin::CertificateAuthService->ocsp_responders() for parameters and return values.
#Get ocsp_responders my $responder_list = $auth_service->ocsp_responders();
#Modify ocsp_responders my $responder1 = Infoblox::OCSP::Responder->new( fqdn_or_ip => 'domain.com', certificate => '/tmp/cert1.pem', );
my $responder2 = Infoblox::OCSP::Responder->new( fqdn_or_ip => '192.168.1.10', certificate => '/tmp/cert2.pem', );
$auth_service->ocsp_responders([$responder1, $responder2]);
This section describes all the methods that can be used to configure and retrieve the attribute values of an Infoblox::OCSP::Responder object.
Use this method to set the OCSP responder certificate. This attribute is write-only and cannot be retrieved.
String with a reference to a file.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
#Set certificate $responder->certificate('/tmp/cer.pem');
Use this method to set or retrieve a descriptive comment.
Desired comment in string format with a maximum of 256 bytes.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get comment my $comment = $responder->comment();
#Modify comment $responder->comment("Modified comment");
Use this method to set or retrieve the disabled flag for the OCSP authentication responder.
Specify "true" to disable the OCSP authentication respondert or "false" to enable it. Default value is "false".
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value as "true" or "false".
#Get disabled flag my $disabled = $responder->disabled();
#Modify disabled flag $responder->disabled("true");
Use this method to set or retrieve the IP address or the domain name for the OCSP authentication responder.
String with the IP address or the domain name for the OCSP authentication responder.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get address my $address = $responder->address();
#Modify address $responder->address("192.168.1.2");
Use this method to set or retrieve the TCP Port on which the OCSP client communicates with the OCSP responder.
An unsigned integer. Default value is 80.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get port my $port = $responder->port();
#Modify port $responder->port(90);
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::Admin::CertificateAuthService
Copyright (c) 2017 Infoblox Inc.