Infoblox::DTC::Certificate - a DTC Certificate object.
A DTC Certificate object.
This section describes all the methods in a Session module that you can apply to a DTC Certificate object.
Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.
Apply the following attribute to get a specific object:
distinguished_name - Optional. A X509Certificate Distinguished name (DN). issuer - Optional. A X509Certificate issuer. serial - Optional. A X509Certificate serial number. valid_not_after - Optional. A X509Certificate expiry date. valid_not_before - Optional. A X509Certificate validity start date.
my @retrieved_objs = $session->get( object => 'Infoblox::DTC::Certificate', serial => 'd80b0e8c47df5082', );
Use this method to search for objects in the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.
Apply the following attribute to get a specific object:
distinguished_name - Optional. A X509Certificate Distinguished name (DN). issuer - Optional. A X509Certificate issuer. serial - Optional. A X509Certificate serial number. valid_not_after - Optional. A X509Certificate expiry date. valid_not_before - Optional. A X509Certificate validity start date.
my @retrieved_objs = $session->search( object => 'Infoblox::DTC::Certificate', serial => 'd80b0e8c47df5082', );
Use this method to upload a DTC certificate.
Apply the following attribute to upload a DTC certificate:
path - Required. The path to the file that contains the DTC certificate.
The method returns 'true' when the upload of a MaxMind Database has been performed successfully, and returns 'false' when the operation fails.
#add certificate with a path given my $res = $dtc->add_certificate(path => $path_to_cert);
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to retrieve an X509Certificate object. This is a read-only attribute.
None
The valid return value is an Infoblox::Grid::X509Certificate object.
#get certificate value my $certificate = $dtc_certificate->certificate();
Use this method to retrieve the certificate status. This is a read-only attribute.
None
The method returns the attribute value.
#get in_use value my $in_use = $dtc_certificate->in_use();
Infoblox Inc. http://www.infoblox.com/
Infoblox::Session, Infoblox::Session->get(), Infoblox::Session->search(), Infoblox::DTC->add_certificate()
Copyright (c) 2017 Infoblox Inc.