Class CurveClientMechanism
java.lang.Object
zmq.io.mechanism.Mechanism
zmq.io.mechanism.curve.CurveClientMechanism
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Mechanism
Mechanism.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]private longprivate longprivate final byte[]private final byte[]private final byte[]private byte[]private final Curveprivate final Errnoprivate final byte[]private final byte[]private final byte[]private CurveClientMechanism.StateFields inherited from class Mechanism
options, session, statusCode, zapProperties, zmtpProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnextHandshakeCommand(Msg msg) private intprocessError(Msg msg) intprivate intprocessReady(Msg msg) private intprocessWelcome(Msg msg) private intproduceHello(Msg msg) private intproduceInitiate(Msg msg) status()intMethods inherited from class Mechanism
addProperty, addProperty, addProperty, addProperty, compare, compare, destroy, getUserId, handleErrorReason, parseErrorMessage, parseMetadata, parseMetadata, peerIdentity, property, receiveAndProcessZapReply, sendZapRequest, socketType
-
Field Details
-
state
-
publicKey
private final byte[] publicKey -
secretKey
private final byte[] secretKey -
cnPublic
private final byte[] cnPublic -
cnSecret
private final byte[] cnSecret -
serverKey
private final byte[] serverKey -
cnServer
private byte[] cnServer -
cnCookie
private byte[] cnCookie -
cnPrecom
private final byte[] cnPrecom -
cnNonce
private long cnNonce -
cnPeerNonce
private long cnPeerNonce -
cryptoBox
-
errno
-
-
Constructor Details
-
CurveClientMechanism
-
-
Method Details
-
nextHandshakeCommand
- Specified by:
nextHandshakeCommandin classMechanism
-
processHandshakeCommand
- Specified by:
processHandshakeCommandin classMechanism
-
encode
-
decode
-
status
-
zapMsgAvailable
public int zapMsgAvailable()- Specified by:
zapMsgAvailablein classMechanism
-
produceHello
-
processWelcome
-
produceInitiate
-
processReady
-
processError
-