Functions | |
MQERETURN | mqePrivateRegistry_new (MQeExceptBlock *pErrStruct, MQePrivateRegistryHndl *phPrivateRegistry) |
MQERETURN | mqePrivateRegistry_free (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct) |
MQERETURN | mqePrivateRegistry_close (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct) |
MQERETURN | mqePrivateRegistry_activate (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct, MQeStringHndl hEntityName, MQeStringHndl hDirName, MQeStringHndl hPIN, MQeStringHndl hKeyRingPassword, MQeStringHndl hCertReqPIN, MQeStringHndl hCaIPAddrPort) |
Activates the PrivateRegistry. | |
MQERETURN | mqePrivateRegistry_deleteCertificate (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct, MQeStringHndl hCertificateOwner) |
Deletes the certificate owner’s mini-certificate. | |
MQERETURN | mqePrivateRegistry_getCertificate (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct, MQeFieldsHndl *phMiniCertificate, MQeStringHndl hCertificateOwner) |
Returns the certificate owner’s mini-certificate. | |
MQERETURN | mqePrivateRegistry_getRegistryName (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct, MQeStringHndl *phRegistryName) |
Return the owning entity name. | |
MQERETURN | mqePrivateRegistry_resetPIN (MQePrivateRegistryHndl hPrivateRegistry, MQeExceptBlock *pErrStruct, MQeStringHndl hCurrentPIN, MQeStringHndl hNewPIN) |
Enables a valid private registry owner to change the access PIN. |
Provides controlled access to a set of private objects and public object (for example certificates). Also support digital signing and decryption services that can use the Registry's private objects (for example an authenticatable entity's private key) internally so they do not leave the private registry.
|
Creates a new Private Registry
|
|
Frees the private registry handle
|
|
Closes the private registry handle
|
|
If a private registry with this entityName exists activate() attempts to open the private registry using the given pin. If it does not exist activate() creates and opens a new private registry and makes it accessible via the given pin. If a non-null mini-certificate server address (pCaIPAddrPort) is given, activate() searches the private Registry to discover if the owner is already registered (already has its own mini-certificate). IF it is not registered (no mini-certificate) activate() executes auto-Registration. This auto-registers the entityName performing the following tasks
|
|
|
|
|
|
Use null or negative value for the size, to get the size set of the size of the name
|
|
|