igcv3 - v1.1.0
    Preparing search index...

    Function bufferToPem

    • Converts a Buffer (DER) to PEM format.

      Parameters

      • buffer: Buffer

        The DER-encoded buffer

      • type: string = 'CERTIFICATE'

        The PEM type (default: 'CERTIFICATE')

      Returns string

      PEM-encoded string