Lines Matching refs:secret

59  * The listener implementation is responsible for showing the shared secret
68 * wait for the secret. The listener, or some activity resulting from it, must
69 * publish the input secret to the session via
89 * Controls whether to verify the secret portion of the SecretAck message.
91 * NOTE(mikey): One implementation does not send the secret back in
99 * Timeout, in milliseconds, for polling the secret queue for a response from
181 * Threadsafe queue for receiving the messages sent by peer, user-given secret
271 // Unblock the blocking wait on the secret queue.
451 * Sets the secret, as received from a user. This method is only meaningful
454 * @param secret the secret, as a byte sequence
455 * @return {@code true} if the secret was captured
457 public boolean setSecret(byte[] secret) {
465 return mMessageQueue.offer(new QueueMessage(secret));
490 logDebug("Waiting for secret from Listener or ...");
494 "Illegal state - no secret available: " + message);
498 throw new PoloException("Invalid secret.");
520 throw new BadSecretException("Inband secret did not match. " +
553 throw new BadSecretException("Inband secret did not match. " +
645 * Returns next queued message. The method blocks until the secret or the
685 * Queued message, that can carry information about secret, next read message,
694 PoloMessage message, byte[] secret, PoloException exception) {
705 if (secret != null) {
709 mSecret = secret;
717 public QueueMessage(byte[] secret) {
718 this(null, secret, null);
747 builder.append("secret = " + Arrays.toString(mSecret));