# tibemsSSLParams_GetPrivateKey

Function

## Purpose

Get the private key from an SSL parameter object.

## C Declaration

    tibems_status tibemsSSLParams_GetPrivateKey(
        tibemsSSLParams SSLParams,
        const void** data,
        tibems_int* size,
        tibems_int* encoding );

## IBM Systems

This function is not supported on z/OS and IBM i systems. For more information, see SSL Implementation on IBM EBCDIC Systems.

## Parameters

Parameter | Description
--- | ---
`SSLParams` | Get the private key from this SSL parameter object.
`data` | The function stores in this location a pointer to the key data within the `tibemsSSLParams` object.
`size` | The function stores the length (in bytes) of the key data in this location.
`encoding` | The function stores the encoding of the key data in this location; for values, see `Certificate Encodings`.

Copyright © Cloud Software Group, Inc. All rights reserved.