gnap-caep-risc-nodejs
    Preparing search index...

    Function loadClientKey

    • Loads the private key and, when mutual TLS is the proof or a certificate was given, checks that the certificate is that key's. proof defaults to mutual TLS when a certificate is present. A file with several certificates is a chain: the key is the first, and the handshake sends all of them.

      Parameters

      • privateKeyPem: string
      • certificatePem: string | undefined
      • proof: KeyProof | undefined

      Returns ClientKey