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
update()
This invoke a request to OpenGate North API and the callback is managed by promises
This method update an element certificate
Retorna
Tip
withAdministrativeState(administrativeState)
Set the administrativeState attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| administrativeState |
string |
❌ |
|
Retorna
Tip
withDescription(description)
Set the description attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| description |
string |
❌ |
optional field |
Retorna
Tip
withDomains(domains)
Set the domains attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| domains |
Array |
❌ |
|
Retorna
Tip
withId(id)
Set the id attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| id |
string |
❌ |
required field on delete |
Retorna
Tip
withName(name)
Set the name attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| name |
string |
❌ |
required field |
Retorna
Tip
withParameters(parameters)
Set the parameters attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| parameters |
string |
❌ |
optional field |
Retorna
Tip
Set the tags attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| tags |
Array |
❌ |
|
Retorna
Tip
withUsages(usages)
Set the usages attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| usages |
Array |
❌ |
|
Retorna
Tip