HomeSort by relevance Sort by last modified time
    Searched refs:HandshakeException (Results 1 - 5 of 5) sorted by null

  /external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
D2DHandshakeContext.java 41 * } catch (HandshakeException e) {
52 * } catch (HandshakeException e) {
83 * } catch (HandshakeException e) {
94 * } catch (HandshakeException e) {
113 * @throws HandshakeException if the handshake is over or if the next handshake message can't be
116 byte[] getNextHandshakeMessage() throws HandshakeException;
122 * will result in a {@link HandshakeException}.
135 * @throws HandshakeException if the handshake is over or if the next handshake message can't be
139 byte[] getNextHandshakeMessage(byte[] payload) throws HandshakeException;
146 * @throws HandshakeException if an error occurs in parsing the handshake messag
    [all...]
HandshakeException.java 20 public class HandshakeException extends Exception {
21 public HandshakeException(String message) {
25 public HandshakeException(Exception e) {
29 public HandshakeException(String message, Exception e) {
D2DDiffieHellmanKeyExchangeHandshake.java 125 public byte[] getNextHandshakeMessage() throws HandshakeException {
141 throw new HandshakeException("Cannot get next message in state: " + handshakeState);
151 public byte[] getNextHandshakeMessage(byte[] payload) throws HandshakeException {
153 throw new HandshakeException(
163 private byte[] makeResponderHelloWithPayload(byte[] payload) throws HandshakeException {
165 throw new HandshakeException("Not expecting null payload");
196 throw new HandshakeException(e);
201 public byte[] parseHandshakeMessage(byte[] handshakeMessage) throws HandshakeException {
203 throw new HandshakeException("Handshake message too short");
218 throw new HandshakeException("Cannot parse message in state: " + handshakeState)
    [all...]
D2DSpakeEd25519Handshake.java 103 public static D2DSpakeEd25519Handshake forInitiator(byte[] password) throws HandshakeException {
113 public static D2DSpakeEd25519Handshake forResponder(byte[] password) throws HandshakeException {
268 D2DSpakeEd25519Handshake(State state, byte[] password) throws HandshakeException {
270 throw new HandshakeException("Passwords must be at least " + MIN_PASSWORD_LENGTH + " bytes");
283 throw new HandshakeException("Could not make public key point", e);
301 public byte[] getNextHandshakeMessage() throws HandshakeException {
326 throw new HandshakeException("Cannot get next message in state: " + handshakeState);
333 public byte[] getNextHandshakeMessage(byte[] payload) throws HandshakeException {
343 throw new HandshakeException(
350 private byte[] makeCommitmentPointMessage(boolean isInitiator) throws HandshakeException {
    [all...]
Ukey2Handshake.java 78 * } catch (HandshakeException e) {
114 * } catch (HandshakeException e) {
126 * @throws HandshakeException
128 public static Ukey2Handshake forInitiator(HandshakeCipher cipher) throws HandshakeException {
136 * @throws HandshakeException
138 public static Ukey2Handshake forResponder(HandshakeCipher cipher) throws HandshakeException {
284 * @throws HandshakeException if an unrecoverable error occurs and the connection should be shut
287 private Ukey2Handshake(InternalState state, HandshakeCipher cipher) throws HandshakeException {
312 * @throws HandshakeException if an unrecoverable error occurs and the connection should be shut
315 public byte[] getNextHandshakeMessage() throws HandshakeException {
    [all...]

Completed in 350 milliseconds