Infoblox::DTC::Certificate - a DTC Certificate object.


NAME

Infoblox::DTC::Certificate - a DTC Certificate object.


DESCRIPTION

A DTC Certificate object.


CONSTRUCTOR


SESSION METHODS

This section describes all the methods in a Session module that you can apply to a DTC Certificate object.

Infoblox::Session->get( )

Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.

Key Reference
 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.
Example
 my @retrieved_objs = $session->get(
     object => 'Infoblox::DTC::Certificate',
     serial => 'd80b0e8c47df5082',
 );

Infoblox::Session->search( )

Use this method to search for objects in the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.

Key Reference
 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.
Example
 my @retrieved_objs = $session->search(
     object => 'Infoblox::DTC::Certificate',
     serial => 'd80b0e8c47df5082',
 );


MODULE METHODS

Infoblox::DTC->add_certificate( )

Use this method to upload a DTC certificate.

Key Reference
 Apply the following attribute to upload a DTC certificate:
    path - Required. The path to the file that contains the DTC certificate.
Returns

The method returns 'true' when the upload of a MaxMind Database has been performed successfully, and returns 'false' when the operation fails.

Example
 #add certificate with a path given
 my $res = $dtc->add_certificate(path => $path_to_cert);


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

certificate( )

Use this method to retrieve an X509Certificate object. This is a read-only attribute.

Parameter

None

Returns

The valid return value is an Infoblox::Grid::X509Certificate object.

Example
 #get certificate value
 my $certificate = $dtc_certificate->certificate();

in_use( )

Use this method to retrieve the certificate status. This is a read-only attribute.

Parameter

None

Returns

The method returns the attribute value.

Example
 #get in_use value
 my $in_use = $dtc_certificate->in_use();


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::Session, Infoblox::Session->get(), Infoblox::Session->search(), Infoblox::DTC->add_certificate()


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.