[MQ 9.3.0 Jun 2022][MQ 9.3.0 Jun 2022][UNIX, Linux, Windows, IBM i]

KeyRepoPasswordPtr (MQPTR) for MQSCO

This is the address in bytes of the TLS key repository passphrase.

This is an input field. The initial value of this field is the null pointer in those programming languages that support pointers, and an all-null byte string otherwise. This field is ignored if Version is less than MQSCO_VERSION_6.

This field is relevant only for IBM® MQ MQI clients running on IBM i, AIX®, Linux®, and Windows systems.

The key repository passphrase can be specified as a plain text string, or a passphrase that has been encrypted using the runmqicred utility.

If you provide an encrypted passphrase, specify the initial key that was used to encrypt the passphrase in the MQCSP structure that is provided by the same client application.

The key repository passphrase specified using this field overrides any key repository passphrase that is specified using the MQKEYRPWD environment variable, or the SSLKeyRepositoryPassword property in the SSL stanza of the client configuration file.

You can use either KeyRepoPasswordOffset or KeyRepoPasswordPtr to specify the key repository passphrase, but not both.