This is a base object that contains all you can do about Certificates.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
Reference InternalOpenGateAPI to the API object.

create(rawFile)

This invoke a request to OpenGate North API and the callback is managed by promises This method create an element certificate

Parámetros

Nombre Tipo Opcional Descripción
rawFile File this File is the certificate

Retorna

Tip

Tipo: Promise


update()

This invoke a request to OpenGate North API and the callback is managed by promises This method update an element certificate

Retorna

Tip

Tipo: Promise


withAdministrativeState(administrativeState)

Set the administrativeState attribute

Parámetros

Nombre Tipo Opcional Descripción
administrativeState string

Retorna

Tip

Tipo: Certificates


withDescription(description)

Set the description attribute

Parámetros

Nombre Tipo Opcional Descripción
description string optional field

Retorna

Tip

Tipo: Certificates


withDomains(domains)

Set the domains attribute

Parámetros

Nombre Tipo Opcional Descripción
domains Array

Retorna

Tip

Tipo: Certificates


withId(id)

Set the id attribute

Parámetros

Nombre Tipo Opcional Descripción
id string required field on delete

Retorna

Tip

Tipo: Certificates


withName(name)

Set the name attribute

Parámetros

Nombre Tipo Opcional Descripción
name string required field

Retorna

Tip

Tipo: Certificates


withParameters(parameters)

Set the parameters attribute

Parámetros

Nombre Tipo Opcional Descripción
parameters string optional field

Retorna

Tip

Tipo: Certificates


withTags(tags)

Set the tags attribute

Parámetros

Nombre Tipo Opcional Descripción
tags Array

Retorna

Tip

Tipo: Certificates


withUsages(usages)

Set the usages attribute

Parámetros

Nombre Tipo Opcional Descripción
usages Array

Retorna

Tip

Tipo: Certificates