[][src]Module libzmq::auth

Socket authentication and encryption.

In libzmq each Ctx as a dedicated background AuthHandler thread which will handle authentication and encryption for all sockets within the same context.

For two sockets to connect to each other, they must have matching Mechanism. Then authentication is performed depending on the configuration of the AuthHandler. This configuration can be modified by using a AuthClient which send commands to the handler.

Structs

AuthBuilder

A builder for a AuthClient.

AuthClient

A client to configure the AuthServer.

CurveCert

A CURVE certificate containing a public and secret CurveKey.

CurveClientCreds

Credentials for a Curve client.

CurvePublicKey

A public CURVE cryptographic key in the printable Z85 representation.

CurveSecretKey

A secret CURVE cryptographic key in the printable Z85 representation.

CurveServerCreds

Credentials for a Curve server.

PlainClientCreds

Credentials for a PLAIN client.

Enums

CurveError

A error when encoding or decoding a CurveKey.

Mechanism

A socket's Mechanism.

StatusCode

The possible status code resulting from a ZAP handshake.