Hierarchy

  • NodeCertificado

Constructors

Properties

Methods

Constructors

Properties

_comprobante: CNodeInterface

Methods

  • Extract the certificate from Comprobante.certificado If the node does not exist return an empty string The returned string is no longer base64 encoded

    Throws

    Error If the certificado attribute is not a valid base64 encoded string

    Returns string

  • Returns string

  • Returns Certificate

  • Extract and save the certificate into a specified location

    See

    extract

    Throws

    Error If the filename to store the certificate is empty

    Throws

    Error If the certificado attribute is empty

    Throws

    Error If cannot write the contents of the certificate

    Parameters

    • filename: string

    Returns void

Generated using TypeDoc