Functions | |
MQERETURN | mqePrivateRegistryConfigure_new (MQeExceptBlock *pErrStruct, MQePrivateRegistryConfigureHndl *phPrivateRegistryConfigure, MQeStringHndl hName, MQeFieldsHndl hParameters, MQeStringHndl hPIN) |
Creates a new PrivateRegistryConfigure object. | |
MQERETURN | mqePrivateRegistryConfigure_free (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct) |
Call to free the handle to the PrivateRegistryConfigure object. | |
MQERETURN | mqePrivateRegistryConfigure_activate (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct, MQeStringHndl hName, MQeFieldsHndl hParameters, MQeStringHndl hRegPIN) |
Saves the registry name and opens the registry. | |
MQERETURN | mqePrivateRegistryConfigure_close (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct) |
Closes the configuration object and the associated registry. | |
MQERETURN | mqePrivateRegistryConfigure_credentialsExist (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct, MQEBOOL *pCredentialsExist) |
Checks whether the registry already contains credentials. | |
MQERETURN | mqePrivateRegistryConfigure_getCredentials (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct, MQeFieldsHndl hParameters, MQeStringHndl hRegPIN, MQeStringHndl hMiniCertServer, MQeStringHndl hMiniCertPIN, MQeStringHndl hRenamePrefix) |
Creates new credentials for the registry. | |
MQERETURN | mqePrivateRegistryConfigure_isPrivateRegistry (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct, MQEBOOL *pIsPrivate) |
Checks whether the Registry that has been opened is a private registry. | |
MQERETURN | mqePrivateRegistryConfigure_renewCertificates (MQePrivateRegistryConfigureHndl hPrivateRegistryConfigure, MQeExceptBlock *pErrStruct, MQeStringHndl hRegPIN, MQeStringHndl hMiniCertServer, MQeStringHndl hMiniCertPIN, MQeStringHndl hRenamePrefix) |
Renew public certificate. |
Used to configure a private registry and get new credentials for the registry.
|
You can supply NULL for the parameters name, parameters and pin if required. Parameters takes fields with the following values. These are constants in the MQe_RegistryConstants.h file and are used as field names.
|
|
|
|
If the regPIN parameters is not NULL it is used to open the Registry, otherwise the registry's PIN is obtained from the regParams parameter
|
|
An attempt to use this after it has been closed with results in error
|
|
|
|
If the Registry already contains credentials they are renamed using the rename prefix. If the rename fails for example because the new name already exists in the registry, and error occurs and no new credentials are created. If an error occurs after the credentials have been renamed, they are changed back to their original names. This method calls the mini-certificate server and can take some time to complete
|
|
|
|
This method renews the public certificate for the registry. This is necessary if for example the existing certificate has expired. The existing public certificate is renamed using renamePrefix. If the rename fables for example because the new name already exists in the registry, and error occurs and the certificate is not renewed. If an error occurs after the certificate has been renamed, they are changed back to their original names. This method calls the mini-certificate server and can take some time to complete
|